Index: src/type-info.cc |
diff --git a/src/type-info.cc b/src/type-info.cc |
index ecfe3dae6879f40b081b8bdcacddcbce0102690c..ae5ee80a4ed6d7522437ae25bc55c276e3ca1be8 100644 |
--- a/src/type-info.cc |
+++ b/src/type-info.cc |
@@ -255,7 +255,7 @@ void TypeFeedbackOracle::BinaryType(TypeFeedbackId id, |
} |
Handle<Code> code = Handle<Code>::cast(object); |
ASSERT_EQ(Code::BINARY_OP_IC, code->kind()); |
- BinaryOpIC::State state(code->extra_ic_state()); |
+ BinaryOpIC::State state(isolate(), code->extra_ic_state()); |
ASSERT_EQ(op, state.op()); |
*left = state.GetLeftType(zone()); |
@@ -277,7 +277,7 @@ Type* TypeFeedbackOracle::CountType(TypeFeedbackId id) { |
if (!object->IsCode()) return Type::None(zone()); |
Handle<Code> code = Handle<Code>::cast(object); |
ASSERT_EQ(Code::BINARY_OP_IC, code->kind()); |
- BinaryOpIC::State state(code->extra_ic_state()); |
+ BinaryOpIC::State state(isolate(), code->extra_ic_state()); |
return state.GetLeftType(zone()); |
} |