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

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: Choose generic path less 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') | src/ic/ic.cc » ('J')
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 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after
1390 __ bind(&loop); 1390 __ bind(&loop);
1391 __ ldr(receiver, MemOperand(fp, argumentsOffset)); 1391 __ ldr(receiver, MemOperand(fp, argumentsOffset));
1392 1392
1393 // Use inline caching to speed up access to arguments. 1393 // Use inline caching to speed up access to arguments.
1394 FeedbackVectorSpec spec(0, Code::KEYED_LOAD_IC); 1394 FeedbackVectorSpec spec(0, Code::KEYED_LOAD_IC);
1395 Handle<TypeFeedbackVector> feedback_vector = 1395 Handle<TypeFeedbackVector> feedback_vector =
1396 masm->isolate()->factory()->NewTypeFeedbackVector(&spec); 1396 masm->isolate()->factory()->NewTypeFeedbackVector(&spec);
1397 int index = feedback_vector->GetIndex(FeedbackVectorICSlot(0)); 1397 int index = feedback_vector->GetIndex(FeedbackVectorICSlot(0));
1398 __ mov(slot, Operand(Smi::FromInt(index))); 1398 __ mov(slot, Operand(Smi::FromInt(index)));
1399 __ Move(vector, feedback_vector); 1399 __ Move(vector, feedback_vector);
1400 Handle<Code> ic = KeyedLoadICStub(masm->isolate()).GetCode(); 1400 Handle<Code> ic =
1401 KeyedLoadICStub(masm->isolate(), LoadICState(kNoExtraICState)).GetCode();
1401 __ Call(ic, RelocInfo::CODE_TARGET); 1402 __ Call(ic, RelocInfo::CODE_TARGET);
1402 1403
1403 // Push the nth argument. 1404 // Push the nth argument.
1404 __ push(r0); 1405 __ push(r0);
1405 1406
1406 __ ldr(key, MemOperand(fp, indexOffset)); 1407 __ ldr(key, MemOperand(fp, indexOffset));
1407 __ add(key, key, Operand(1 << kSmiTagSize)); 1408 __ add(key, key, Operand(1 << kSmiTagSize));
1408 __ str(key, MemOperand(fp, indexOffset)); 1409 __ str(key, MemOperand(fp, indexOffset));
1409 1410
1410 // Test if the copy loop has finished copying all the elements from the 1411 // 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
1806 } 1807 }
1807 } 1808 }
1808 1809
1809 1810
1810 #undef __ 1811 #undef __
1811 1812
1812 } // namespace internal 1813 } // namespace internal
1813 } // namespace v8 1814 } // namespace v8
1814 1815
1815 #endif // V8_TARGET_ARCH_ARM 1816 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/code-stubs-arm.cc » ('j') | src/ic/ic.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698