Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index d8a107b113d1a1ab057e472e8ce6bb739fe5f87c..7647bc18e7dcff88dddb4fecb9ae2b590f6655f0 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -226,9 +226,9 @@ void RelocInfo::set_debug_call_address(Address target) { |
Address location = pc_ + Assembler::kPatchDebugBreakSlotAddressOffset; |
Assembler::set_target_address_at(isolate_, location, host_, target); |
if (host() != NULL) { |
- Object* target_code = Code::GetCodeFromTargetAddress(target); |
- host()->GetHeap()->incremental_marking()->RecordWriteIntoCode( |
- host(), this, HeapObject::cast(target_code)); |
+ Code* target_code = Code::GetCodeFromTargetAddress(target); |
+ host()->GetHeap()->incremental_marking()->RecordWriteIntoCode(host(), this, |
+ target_code); |
} |
} |