diff options
Diffstat (limited to 'deps/v8/src/ic/x64/ic-x64.cc')
-rw-r--r-- | deps/v8/src/ic/x64/ic-x64.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/deps/v8/src/ic/x64/ic-x64.cc b/deps/v8/src/ic/x64/ic-x64.cc index ff74a965e4..3fc8747c66 100644 --- a/deps/v8/src/ic/x64/ic-x64.cc +++ b/deps/v8/src/ic/x64/ic-x64.cc @@ -25,8 +25,6 @@ static void GenerateGlobalInstanceTypeCheck(MacroAssembler* masm, Register type, // type: holds the receiver instance type on entry. __ cmpb(type, Immediate(JS_GLOBAL_OBJECT_TYPE)); __ j(equal, global_object); - __ cmpb(type, Immediate(JS_BUILTINS_OBJECT_TYPE)); - __ j(equal, global_object); __ cmpb(type, Immediate(JS_GLOBAL_PROXY_TYPE)); __ j(equal, global_object); } @@ -346,7 +344,7 @@ void KeyedLoadIC::GenerateMegamorphic(MacroAssembler* masm, Handle<TypeFeedbackVector> dummy_vector = TypeFeedbackVector::DummyVector(masm->isolate()); int slot_index = dummy_vector->GetIndex( - FeedbackVectorICSlot(TypeFeedbackVector::kDummyKeyedLoadICSlot)); + FeedbackVectorSlot(TypeFeedbackVector::kDummyKeyedLoadICSlot)); __ Move(vector, dummy_vector); __ Move(slot, Smi::FromInt(slot_index)); @@ -574,7 +572,7 @@ void KeyedStoreIC::GenerateMegamorphic(MacroAssembler* masm, Handle<TypeFeedbackVector> dummy_vector = TypeFeedbackVector::DummyVector(masm->isolate()); int slot_index = dummy_vector->GetIndex( - FeedbackVectorICSlot(TypeFeedbackVector::kDummyKeyedStoreICSlot)); + FeedbackVectorSlot(TypeFeedbackVector::kDummyKeyedStoreICSlot)); __ Move(vector, dummy_vector); __ Move(slot, Smi::FromInt(slot_index)); } |