Index: src/ia32/macro-assembler-ia32.cc |
=================================================================== |
--- src/ia32/macro-assembler-ia32.cc (revision 8767) |
+++ src/ia32/macro-assembler-ia32.cc (working copy) |
@@ -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); |
} |