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

Side by Side Diff: src/arm/builtins-arm.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 | « no previous file | src/arm/code-stubs-arm.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_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/debug.h" 10 #include "src/debug.h"
(...skipping 1401 matching lines...) Expand 10 before | Expand all | Expand 10 after
1412 __ bind(&loop); 1412 __ bind(&loop);
1413 __ ldr(receiver, MemOperand(fp, argumentsOffset)); 1413 __ ldr(receiver, MemOperand(fp, argumentsOffset));
1414 1414
1415 // Use inline caching to speed up access to arguments. 1415 // Use inline caching to speed up access to arguments.
1416 FeedbackVectorSpec spec(0, Code::KEYED_LOAD_IC); 1416 FeedbackVectorSpec spec(0, Code::KEYED_LOAD_IC);
1417 Handle<TypeFeedbackVector> feedback_vector = 1417 Handle<TypeFeedbackVector> feedback_vector =
1418 masm->isolate()->factory()->NewTypeFeedbackVector(&spec); 1418 masm->isolate()->factory()->NewTypeFeedbackVector(&spec);
1419 int index = feedback_vector->GetIndex(FeedbackVectorICSlot(0)); 1419 int index = feedback_vector->GetIndex(FeedbackVectorICSlot(0));
1420 __ mov(slot, Operand(Smi::FromInt(index))); 1420 __ mov(slot, Operand(Smi::FromInt(index)));
1421 __ Move(vector, feedback_vector); 1421 __ Move(vector, feedback_vector);
1422 Handle<Code> ic = KeyedLoadICStub(masm->isolate()).GetCode(); 1422 Handle<Code> ic =
1423 KeyedLoadICStub(masm->isolate(), LoadICState(kNoExtraICState)).GetCode();
1423 __ Call(ic, RelocInfo::CODE_TARGET); 1424 __ Call(ic, RelocInfo::CODE_TARGET);
1424 1425
1425 // Push the nth argument. 1426 // Push the nth argument.
1426 __ push(r0); 1427 __ push(r0);
1427 1428
1428 __ ldr(key, MemOperand(fp, indexOffset)); 1429 __ ldr(key, MemOperand(fp, indexOffset));
1429 __ add(key, key, Operand(1 << kSmiTagSize)); 1430 __ add(key, key, Operand(1 << kSmiTagSize));
1430 __ str(key, MemOperand(fp, indexOffset)); 1431 __ str(key, MemOperand(fp, indexOffset));
1431 1432
1432 // Test if the copy loop has finished copying all the elements from the 1433 // Test if the copy loop has finished copying all the elements from the
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
1828 } 1829 }
1829 } 1830 }
1830 1831
1831 1832
1832 #undef __ 1833 #undef __
1833 1834
1834 } // namespace internal 1835 } // namespace internal
1835 } // namespace v8 1836 } // namespace v8
1836 1837
1837 #endif // V8_TARGET_ARCH_ARM 1838 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/code-stubs-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698