Revision: 8769
Author: [email protected]
Date: Mon Aug 1 06:35:11 2011
Log: Tiny cleanup.
Review URL: http://codereview.chromium.org/7541020
http://code.google.com/p/v8/source/detail?r=8769
Modified:
/branches/bleeding_edge/src/ia32/code-stubs-ia32.cc
/branches/bleeding_edge/src/ia32/macro-assembler-ia32.cc
=======================================
--- /branches/bleeding_edge/src/ia32/code-stubs-ia32.cc Mon Aug 1 05:53:24
2011
+++ /branches/bleeding_edge/src/ia32/code-stubs-ia32.cc Mon Aug 1 06:35:11
2011
@@ -255,7 +255,7 @@
CheckOddball(masm, BOOLEAN, Heap::kFalseValueRootIndex, false, &patch);
CheckOddball(masm, BOOLEAN, Heap::kTrueValueRootIndex, true, &patch);
- // 'null' -> false.!!!
+ // 'null' -> false.
CheckOddball(masm, NULL_TYPE, Heap::kNullValueRootIndex, false, &patch);
if (types_.Contains(SMI)) {
=======================================
--- /branches/bleeding_edge/src/ia32/macro-assembler-ia32.cc Mon Aug 1
05:53:24 2011
+++ /branches/bleeding_edge/src/ia32/macro-assembler-ia32.cc Mon Aug 1
06:35:11 2011
@@ -265,8 +265,7 @@
void MacroAssembler::CompareRoot(Register with, Heap::RootListIndex index)
{
// see ROOT_ACCESSOR macro in factory.h
- Handle<Object> value(BitCast<Object**>(
- &isolate()->heap()->roots_address()[index]));
+ Handle<Object> value(&isolate()->heap()->roots_address()[index]);
cmp(with, value);
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev