Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 53dbe694eb31b17899d93c7e275ffe2c60e30487..5b17f276edaf8eead88ea1803d8b8c93370416d3 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -190,7 +190,7 @@ InlineCacheState IC::StateFromCode(Code* code) { |
return state.GetICState(); |
} |
case Code::COMPARE_IC: { |
- CompareICStub stub(isolate, code->extra_ic_state()); |
+ CompareICStub stub(code->stub_key(), isolate); |
return stub.GetICState(); |
} |
case Code::TO_BOOLEAN_IC: { |