Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(945)

Side by Side Diff: src/arm64/code-stubs-arm64.cc

Issue 1199493002: Revert relanded strong property access CL (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm64/full-codegen-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 4476 matching lines...) Expand 10 before | Expand all | Expand 10 after
4487 4487
4488 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { 4488 void LoadICTrampolineStub::Generate(MacroAssembler* masm) {
4489 EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister()); 4489 EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister());
4490 LoadICStub stub(isolate(), state()); 4490 LoadICStub stub(isolate(), state());
4491 stub.GenerateForTrampoline(masm); 4491 stub.GenerateForTrampoline(masm);
4492 } 4492 }
4493 4493
4494 4494
4495 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { 4495 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) {
4496 EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister()); 4496 EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister());
4497 KeyedLoadICStub stub(isolate(), state()); 4497 KeyedLoadICStub stub(isolate());
4498 stub.GenerateForTrampoline(masm); 4498 stub.GenerateForTrampoline(masm);
4499 } 4499 }
4500 4500
4501 4501
4502 void CallICTrampolineStub::Generate(MacroAssembler* masm) { 4502 void CallICTrampolineStub::Generate(MacroAssembler* masm) {
4503 EmitLoadTypeFeedbackVector(masm, x2); 4503 EmitLoadTypeFeedbackVector(masm, x2);
4504 CallICStub stub(isolate(), state()); 4504 CallICStub stub(isolate(), state());
4505 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); 4505 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
4506 } 4506 }
4507 4507
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
4696 Label polymorphic, try_poly_name; 4696 Label polymorphic, try_poly_name;
4697 __ Bind(&polymorphic); 4697 __ Bind(&polymorphic);
4698 HandleArrayCases(masm, receiver, key, vector, slot, feedback, receiver_map, 4698 HandleArrayCases(masm, receiver, key, vector, slot, feedback, receiver_map,
4699 scratch1, x7, true, &miss); 4699 scratch1, x7, true, &miss);
4700 4700
4701 __ Bind(&not_array); 4701 __ Bind(&not_array);
4702 // Is it generic? 4702 // Is it generic?
4703 __ JumpIfNotRoot(feedback, Heap::kmegamorphic_symbolRootIndex, 4703 __ JumpIfNotRoot(feedback, Heap::kmegamorphic_symbolRootIndex,
4704 &try_poly_name); 4704 &try_poly_name);
4705 Handle<Code> megamorphic_stub = 4705 Handle<Code> megamorphic_stub =
4706 KeyedLoadIC::ChooseMegamorphicStub(masm->isolate(), GetExtraICState()); 4706 KeyedLoadIC::ChooseMegamorphicStub(masm->isolate());
4707 __ Jump(megamorphic_stub, RelocInfo::CODE_TARGET); 4707 __ Jump(megamorphic_stub, RelocInfo::CODE_TARGET);
4708 4708
4709 __ Bind(&try_poly_name); 4709 __ Bind(&try_poly_name);
4710 // We might have a name in feedback, and a fixed array in the next slot. 4710 // We might have a name in feedback, and a fixed array in the next slot.
4711 __ Cmp(key, feedback); 4711 __ Cmp(key, feedback);
4712 __ B(ne, &miss); 4712 __ B(ne, &miss);
4713 // If the name comparison succeeded, we know we have a fixed array with 4713 // If the name comparison succeeded, we know we have a fixed array with
4714 // at least one map/handler pair. 4714 // at least one map/handler pair.
4715 __ Add(feedback, vector, Operand::UntagSmiAndScale(slot, kPointerSizeLog2)); 4715 __ Add(feedback, vector, Operand::UntagSmiAndScale(slot, kPointerSizeLog2));
4716 __ Ldr(feedback, 4716 __ Ldr(feedback,
(...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after
5817 MemOperand(fp, 6 * kPointerSize), NULL); 5817 MemOperand(fp, 6 * kPointerSize), NULL);
5818 } 5818 }
5819 5819
5820 5820
5821 #undef __ 5821 #undef __
5822 5822
5823 } // namespace internal 5823 } // namespace internal
5824 } // namespace v8 5824 } // namespace v8
5825 5825
5826 #endif // V8_TARGET_ARCH_ARM64 5826 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm64/full-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698