Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index f7be363e06c217ff823be7e67c41e6c39181a84d..1da3f81f8a5527b7b6bfd8f303d0d783c985eda0 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -300,7 +300,7 @@ void Assembler::emit(uint32_t x) { |
void Assembler::emit(Handle<Object> handle) { |
// Verify all Objects referred by code are NOT in new space. |
Object* obj = *handle; |
- ASSERT(!HEAP->InNewSpace(obj)); |
+ ASSERT(!isolate()->heap()->InNewSpace(obj)); |
if (obj->IsHeapObject()) { |
emit(reinterpret_cast<intptr_t>(handle.location()), |
RelocInfo::EMBEDDED_OBJECT); |