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

Side by Side Diff: src/mips/code-stubs-mips.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/messages.h ('k') | src/mips/full-codegen-mips.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_MIPS 7 #if V8_TARGET_ARCH_MIPS
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 4574 matching lines...) Expand 10 before | Expand all | Expand 10 after
4585 4585
4586 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { 4586 void LoadICTrampolineStub::Generate(MacroAssembler* masm) {
4587 EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister()); 4587 EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister());
4588 LoadICStub stub(isolate(), state()); 4588 LoadICStub stub(isolate(), state());
4589 stub.GenerateForTrampoline(masm); 4589 stub.GenerateForTrampoline(masm);
4590 } 4590 }
4591 4591
4592 4592
4593 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { 4593 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) {
4594 EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister()); 4594 EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister());
4595 KeyedLoadICStub stub(isolate(), state()); 4595 KeyedLoadICStub stub(isolate());
4596 stub.GenerateForTrampoline(masm); 4596 stub.GenerateForTrampoline(masm);
4597 } 4597 }
4598 4598
4599 4599
4600 void CallICTrampolineStub::Generate(MacroAssembler* masm) { 4600 void CallICTrampolineStub::Generate(MacroAssembler* masm) {
4601 EmitLoadTypeFeedbackVector(masm, a2); 4601 EmitLoadTypeFeedbackVector(masm, a2);
4602 CallICStub stub(isolate(), state()); 4602 CallICStub stub(isolate(), state());
4603 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); 4603 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
4604 } 4604 }
4605 4605
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
4798 Label polymorphic, try_poly_name; 4798 Label polymorphic, try_poly_name;
4799 __ bind(&polymorphic); 4799 __ bind(&polymorphic);
4800 HandleArrayCases(masm, receiver, key, vector, slot, feedback, receiver_map, 4800 HandleArrayCases(masm, receiver, key, vector, slot, feedback, receiver_map,
4801 scratch1, t5, true, &miss); 4801 scratch1, t5, true, &miss);
4802 4802
4803 __ bind(&not_array); 4803 __ bind(&not_array);
4804 // Is it generic? 4804 // Is it generic?
4805 __ LoadRoot(at, Heap::kmegamorphic_symbolRootIndex); 4805 __ LoadRoot(at, Heap::kmegamorphic_symbolRootIndex);
4806 __ Branch(&try_poly_name, ne, at, Operand(feedback)); 4806 __ Branch(&try_poly_name, ne, at, Operand(feedback));
4807 Handle<Code> megamorphic_stub = 4807 Handle<Code> megamorphic_stub =
4808 KeyedLoadIC::ChooseMegamorphicStub(masm->isolate(), GetExtraICState()); 4808 KeyedLoadIC::ChooseMegamorphicStub(masm->isolate());
4809 __ Jump(megamorphic_stub, RelocInfo::CODE_TARGET); 4809 __ Jump(megamorphic_stub, RelocInfo::CODE_TARGET);
4810 4810
4811 __ bind(&try_poly_name); 4811 __ bind(&try_poly_name);
4812 // We might have a name in feedback, and a fixed array in the next slot. 4812 // We might have a name in feedback, and a fixed array in the next slot.
4813 __ Branch(&miss, ne, key, Operand(feedback)); 4813 __ Branch(&miss, ne, key, Operand(feedback));
4814 // If the name comparison succeeded, we know we have a fixed array with 4814 // If the name comparison succeeded, we know we have a fixed array with
4815 // at least one map/handler pair. 4815 // at least one map/handler pair.
4816 __ sll(at, slot, kPointerSizeLog2 - kSmiTagSize); 4816 __ sll(at, slot, kPointerSizeLog2 - kSmiTagSize);
4817 __ Addu(feedback, vector, Operand(at)); 4817 __ Addu(feedback, vector, Operand(at));
4818 __ lw(feedback, 4818 __ lw(feedback,
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
5566 MemOperand(fp, 6 * kPointerSize), NULL); 5566 MemOperand(fp, 6 * kPointerSize), NULL);
5567 } 5567 }
5568 5568
5569 5569
5570 #undef __ 5570 #undef __
5571 5571
5572 } // namespace internal 5572 } // namespace internal
5573 } // namespace v8 5573 } // namespace v8
5574 5574
5575 #endif // V8_TARGET_ARCH_MIPS 5575 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/messages.h ('k') | src/mips/full-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698