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

Side by Side Diff: src/mips64/builtins-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/mips/lithium-codegen-mips.cc ('k') | src/mips64/code-stubs-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 5
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 __ bind(&loop); 1430 __ bind(&loop);
1431 __ ld(receiver, MemOperand(fp, argumentsOffset)); 1431 __ ld(receiver, MemOperand(fp, argumentsOffset));
1432 1432
1433 // Use inline caching to speed up access to arguments. 1433 // Use inline caching to speed up access to arguments.
1434 FeedbackVectorSpec spec(0, Code::KEYED_LOAD_IC); 1434 FeedbackVectorSpec spec(0, Code::KEYED_LOAD_IC);
1435 Handle<TypeFeedbackVector> feedback_vector = 1435 Handle<TypeFeedbackVector> feedback_vector =
1436 masm->isolate()->factory()->NewTypeFeedbackVector(&spec); 1436 masm->isolate()->factory()->NewTypeFeedbackVector(&spec);
1437 int index = feedback_vector->GetIndex(FeedbackVectorICSlot(0)); 1437 int index = feedback_vector->GetIndex(FeedbackVectorICSlot(0));
1438 __ li(slot, Operand(Smi::FromInt(index))); 1438 __ li(slot, Operand(Smi::FromInt(index)));
1439 __ li(vector, feedback_vector); 1439 __ li(vector, feedback_vector);
1440 Handle<Code> ic = KeyedLoadICStub(masm->isolate()).GetCode(); 1440 Handle<Code> ic =
1441 KeyedLoadICStub(masm->isolate(), LoadICState(kNoExtraICState)).GetCode();
1441 __ Call(ic, RelocInfo::CODE_TARGET); 1442 __ Call(ic, RelocInfo::CODE_TARGET);
1442 1443
1443 __ push(v0); 1444 __ push(v0);
1444 1445
1445 // Use inline caching to access the arguments. 1446 // Use inline caching to access the arguments.
1446 __ ld(key, MemOperand(fp, indexOffset)); 1447 __ ld(key, MemOperand(fp, indexOffset));
1447 __ Daddu(key, key, Operand(Smi::FromInt(1))); 1448 __ Daddu(key, key, Operand(Smi::FromInt(1)));
1448 __ sd(key, MemOperand(fp, indexOffset)); 1449 __ sd(key, MemOperand(fp, indexOffset));
1449 1450
1450 // Test if the copy loop has finished copying all the elements from the 1451 // Test if the copy loop has finished copying all the elements from the
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
1861 } 1862 }
1862 } 1863 }
1863 1864
1864 1865
1865 #undef __ 1866 #undef __
1866 1867
1867 } // namespace internal 1868 } // namespace internal
1868 } // namespace v8 1869 } // namespace v8
1869 1870
1870 #endif // V8_TARGET_ARCH_MIPS64 1871 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips64/code-stubs-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698