Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index fb1273941822c95429714f0e2a59b06139daf644..e1405396c1fe90cec1c272f3c7192175c4aad924 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -148,9 +148,7 @@ IC::IC(FrameDepth depth, Isolate* isolate) |
pc_address_ = StackFrame::ResolveReturnAddressLocation(pc_address); |
target_ = handle(raw_target(), isolate); |
state_ = target_->ic_state(); |
- extra_ic_state_ = target_->needs_extended_extra_ic_state(target_->kind()) |
- ? target_->extended_extra_ic_state() |
- : target_->extra_ic_state(); |
+ extra_ic_state_ = target_->extra_ic_state(); |
} |
@@ -2371,7 +2369,7 @@ Type* BinaryOpIC::State::KindToType(Kind kind, Zone* zone) { |
MaybeObject* BinaryOpIC::Transition(Handle<AllocationSite> allocation_site, |
Handle<Object> left, |
Handle<Object> right) { |
- State state(target()->extended_extra_ic_state()); |
+ State state(target()->extra_ic_state()); |
// Compute the actual result using the builtin for the binary operation. |
Object* builtin = isolate()->js_builtins_object()->javascript_builtin( |
@@ -2687,7 +2685,7 @@ RUNTIME_FUNCTION(Code*, CompareIC_Miss) { |
void CompareNilIC::Clear(Address address, Code* target) { |
if (IsCleared(target)) return; |
- ExtraICState state = target->extended_extra_ic_state(); |
+ ExtraICState state = target->extra_ic_state(); |
CompareNilICStub stub(state, HydrogenCodeStub::UNINITIALIZED); |
stub.ClearState(); |
@@ -2709,7 +2707,7 @@ MaybeObject* CompareNilIC::DoCompareNilSlow(NilValue nil, |
MaybeObject* CompareNilIC::CompareNil(Handle<Object> object) { |
- ExtraICState extra_ic_state = target()->extended_extra_ic_state(); |
+ ExtraICState extra_ic_state = target()->extra_ic_state(); |
CompareNilICStub stub(extra_ic_state); |
@@ -2793,7 +2791,7 @@ Builtins::JavaScript BinaryOpIC::TokenToJSBuiltin(Token::Value op) { |
MaybeObject* ToBooleanIC::ToBoolean(Handle<Object> object) { |
- ToBooleanStub stub(target()->extended_extra_ic_state()); |
+ ToBooleanStub stub(target()->extra_ic_state()); |
bool to_boolean_value = stub.UpdateStatus(object); |
Handle<Code> code = stub.GetCode(isolate()); |
set_target(*code); |