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

Side by Side Diff: src/arm/ic-arm.cc

Issue 351853005: Split SetProperty(...attributes, strictmode) into AddProperty(...attributes) and SetProperty(...… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm64/full-codegen-arm64.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/arm/assembler-arm.h" 9 #include "src/arm/assembler-arm.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 // ---------- S t a t e -------------- 861 // ---------- S t a t e --------------
862 // -- r0 : value 862 // -- r0 : value
863 // -- r1 : key 863 // -- r1 : key
864 // -- r2 : receiver 864 // -- r2 : receiver
865 // -- lr : return address 865 // -- lr : return address
866 // ----------------------------------- 866 // -----------------------------------
867 867
868 // Push receiver, key and value for runtime call. 868 // Push receiver, key and value for runtime call.
869 __ Push(r2, r1, r0); 869 __ Push(r2, r1, r0);
870 870
871 __ mov(r1, Operand(Smi::FromInt(NONE))); // PropertyAttributes
872 __ mov(r0, Operand(Smi::FromInt(strict_mode))); // Strict mode. 871 __ mov(r0, Operand(Smi::FromInt(strict_mode))); // Strict mode.
873 __ Push(r1, r0); 872 __ Push(r1, r0);
874 873
875 __ TailCallRuntime(Runtime::kSetProperty, 5, 1); 874 __ TailCallRuntime(Runtime::kSetProperty, 4, 1);
876 } 875 }
877 876
878 877
879 static void KeyedStoreGenerateGenericHelper( 878 static void KeyedStoreGenerateGenericHelper(
880 MacroAssembler* masm, 879 MacroAssembler* masm,
881 Label* fast_object, 880 Label* fast_object,
882 Label* fast_double, 881 Label* fast_double,
883 Label* slow, 882 Label* slow,
884 KeyedStoreCheckMap check_map, 883 KeyedStoreCheckMap check_map,
885 KeyedStoreIncrementLength increment_length, 884 KeyedStoreIncrementLength increment_length,
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
1312 } else { 1311 } else {
1313 ASSERT(Assembler::GetCondition(branch_instr) == ne); 1312 ASSERT(Assembler::GetCondition(branch_instr) == ne);
1314 patcher.EmitCondition(eq); 1313 patcher.EmitCondition(eq);
1315 } 1314 }
1316 } 1315 }
1317 1316
1318 1317
1319 } } // namespace v8::internal 1318 } } // namespace v8::internal
1320 1319
1321 #endif // V8_TARGET_ARCH_ARM 1320 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm64/full-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698