Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index e0852455a2c5a9ebf5d0ab427f351960fbfeef2f..f0f5c302b325e0928848416ae20f8ec21ba6869f 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -293,7 +293,7 @@ IC::State IC::StateFrom(Code* target, Object* receiver, Object* name) { |
RelocInfo::Mode IC::ComputeMode() { |
Address addr = address(); |
- Code* code = Code::cast(isolate()->heap()->FindCodeObject(addr)); |
+ Code* code = Code::cast(isolate()->FindCodeObject(addr)); |
for (RelocIterator it(code, RelocInfo::kCodeTargetMask); |
!it.done(); it.next()) { |
RelocInfo* info = it.rinfo(); |