Index: src/type-info.cc |
diff --git a/src/type-info.cc b/src/type-info.cc |
index cbf4ffdd5c5a58c6082d8f4406f58ec6f4e557d8..da993a19e429d4122ea02a5d6b6b824018fdb130 100644 |
--- a/src/type-info.cc |
+++ b/src/type-info.cc |
@@ -195,8 +195,10 @@ void TypeFeedbackOracle::CompareType(TypeFeedbackId id, |
} |
if (code->is_compare_ic_stub()) { |
- CompareIC::StubInfoToType(code->stub_key(), left_type, right_type, |
- combined_type, map, zone()); |
+ CompareICStub stub(code->stub_key(), isolate()); |
+ *left_type = CompareIC::StateToType(zone(), stub.left()); |
+ *right_type = CompareIC::StateToType(zone(), stub.right()); |
+ *combined_type = CompareIC::StateToType(zone(), stub.state(), map); |
} else if (code->is_compare_nil_ic_stub()) { |
CompareNilICStub stub(isolate(), code->extra_ic_state()); |
*combined_type = stub.GetType(zone(), map); |