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

Side by Side Diff: src/mips/builtins-mips.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/messages.h ('k') | src/mips/code-stubs-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 5
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS 9 #if V8_TARGET_ARCH_MIPS
10 10
(...skipping 1415 matching lines...) Expand 10 before | Expand all | Expand 10 after
1426 __ bind(&loop); 1426 __ bind(&loop);
1427 __ lw(receiver, MemOperand(fp, argumentsOffset)); 1427 __ lw(receiver, MemOperand(fp, argumentsOffset));
1428 1428
1429 // Use inline caching to speed up access to arguments. 1429 // Use inline caching to speed up access to arguments.
1430 FeedbackVectorSpec spec(0, Code::KEYED_LOAD_IC); 1430 FeedbackVectorSpec spec(0, Code::KEYED_LOAD_IC);
1431 Handle<TypeFeedbackVector> feedback_vector = 1431 Handle<TypeFeedbackVector> feedback_vector =
1432 masm->isolate()->factory()->NewTypeFeedbackVector(&spec); 1432 masm->isolate()->factory()->NewTypeFeedbackVector(&spec);
1433 int index = feedback_vector->GetIndex(FeedbackVectorICSlot(0)); 1433 int index = feedback_vector->GetIndex(FeedbackVectorICSlot(0));
1434 __ li(slot, Operand(Smi::FromInt(index))); 1434 __ li(slot, Operand(Smi::FromInt(index)));
1435 __ li(vector, feedback_vector); 1435 __ li(vector, feedback_vector);
1436 Handle<Code> ic = KeyedLoadICStub(masm->isolate()).GetCode(); 1436 Handle<Code> ic =
1437 KeyedLoadICStub(masm->isolate(), LoadICState(kNoExtraICState)).GetCode();
1437 __ Call(ic, RelocInfo::CODE_TARGET); 1438 __ Call(ic, RelocInfo::CODE_TARGET);
1438 1439
1439 __ push(v0); 1440 __ push(v0);
1440 1441
1441 // Use inline caching to access the arguments. 1442 // Use inline caching to access the arguments.
1442 __ lw(key, MemOperand(fp, indexOffset)); 1443 __ lw(key, MemOperand(fp, indexOffset));
1443 __ Addu(key, key, Operand(1 << kSmiTagSize)); 1444 __ Addu(key, key, Operand(1 << kSmiTagSize));
1444 __ sw(key, MemOperand(fp, indexOffset)); 1445 __ sw(key, MemOperand(fp, indexOffset));
1445 1446
1446 // Test if the copy loop has finished copying all the elements from the 1447 // Test if the copy loop has finished copying all the elements from the
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
1855 } 1856 }
1856 } 1857 }
1857 1858
1858 1859
1859 #undef __ 1860 #undef __
1860 1861
1861 } // namespace internal 1862 } // namespace internal
1862 } // namespace v8 1863 } // namespace v8
1863 1864
1864 #endif // V8_TARGET_ARCH_MIPS 1865 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/messages.h ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698