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

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

Issue 1199983002: [strong] Implement strong property access semantics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add TODOs Created 5 years, 5 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/mips64/builtins-mips64.cc ('k') | src/mips64/full-codegen-mips64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
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 4624 matching lines...) Expand 10 before | Expand all | Expand 10 after
4635 4635
4636 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { 4636 void LoadICTrampolineStub::Generate(MacroAssembler* masm) {
4637 EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister()); 4637 EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister());
4638 LoadICStub stub(isolate(), state()); 4638 LoadICStub stub(isolate(), state());
4639 stub.GenerateForTrampoline(masm); 4639 stub.GenerateForTrampoline(masm);
4640 } 4640 }
4641 4641
4642 4642
4643 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { 4643 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) {
4644 EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister()); 4644 EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister());
4645 KeyedLoadICStub stub(isolate()); 4645 KeyedLoadICStub stub(isolate(), state());
4646 stub.GenerateForTrampoline(masm); 4646 stub.GenerateForTrampoline(masm);
4647 } 4647 }
4648 4648
4649 4649
4650 void CallICTrampolineStub::Generate(MacroAssembler* masm) { 4650 void CallICTrampolineStub::Generate(MacroAssembler* masm) {
4651 EmitLoadTypeFeedbackVector(masm, a2); 4651 EmitLoadTypeFeedbackVector(masm, a2);
4652 CallICStub stub(isolate(), state()); 4652 CallICStub stub(isolate(), state());
4653 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); 4653 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
4654 } 4654 }
4655 4655
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
4846 Label polymorphic, try_poly_name; 4846 Label polymorphic, try_poly_name;
4847 __ bind(&polymorphic); 4847 __ bind(&polymorphic);
4848 HandleArrayCases(masm, receiver, key, vector, slot, feedback, receiver_map, 4848 HandleArrayCases(masm, receiver, key, vector, slot, feedback, receiver_map,
4849 scratch1, a7, true, &miss); 4849 scratch1, a7, true, &miss);
4850 4850
4851 __ bind(&not_array); 4851 __ bind(&not_array);
4852 // Is it generic? 4852 // Is it generic?
4853 __ LoadRoot(at, Heap::kmegamorphic_symbolRootIndex); 4853 __ LoadRoot(at, Heap::kmegamorphic_symbolRootIndex);
4854 __ Branch(&try_poly_name, ne, feedback, Operand(at)); 4854 __ Branch(&try_poly_name, ne, feedback, Operand(at));
4855 Handle<Code> megamorphic_stub = 4855 Handle<Code> megamorphic_stub =
4856 KeyedLoadIC::ChooseMegamorphicStub(masm->isolate()); 4856 KeyedLoadIC::ChooseMegamorphicStub(masm->isolate(), GetExtraICState());
4857 __ Jump(megamorphic_stub, RelocInfo::CODE_TARGET); 4857 __ Jump(megamorphic_stub, RelocInfo::CODE_TARGET);
4858 4858
4859 __ bind(&try_poly_name); 4859 __ bind(&try_poly_name);
4860 // We might have a name in feedback, and a fixed array in the next slot. 4860 // We might have a name in feedback, and a fixed array in the next slot.
4861 __ Branch(&miss, ne, key, Operand(feedback)); 4861 __ Branch(&miss, ne, key, Operand(feedback));
4862 // If the name comparison succeeded, we know we have a fixed array with 4862 // If the name comparison succeeded, we know we have a fixed array with
4863 // at least one map/handler pair. 4863 // at least one map/handler pair.
4864 __ SmiScale(feedback, slot, kPointerSizeLog2); 4864 __ SmiScale(feedback, slot, kPointerSizeLog2);
4865 __ Daddu(feedback, vector, Operand(feedback)); 4865 __ Daddu(feedback, vector, Operand(feedback));
4866 __ ld(feedback, 4866 __ ld(feedback,
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
5615 MemOperand(fp, 6 * kPointerSize), NULL); 5615 MemOperand(fp, 6 * kPointerSize), NULL);
5616 } 5616 }
5617 5617
5618 5618
5619 #undef __ 5619 #undef __
5620 5620
5621 } // namespace internal 5621 } // namespace internal
5622 } // namespace v8 5622 } // namespace v8
5623 5623
5624 #endif // V8_TARGET_ARCH_MIPS64 5624 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/builtins-mips64.cc ('k') | src/mips64/full-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698