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

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

Issue 2973593002: Revert of Set the current context to the function's context when entering to LAP. (Closed)
Patch Set: Created 3 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/ia32/code-stubs-ia32.cc ('k') | src/ic/arm64/handler-compiler-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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #if V8_TARGET_ARCH_ARM 5 #if V8_TARGET_ARCH_ARM
6 6
7 #include "src/ic/handler-compiler.h" 7 #include "src/ic/handler-compiler.h"
8 8
9 #include "src/api-arguments.h" 9 #include "src/api-arguments.h"
10 #include "src/assembler-inl.h" 10 #include "src/assembler-inl.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 } 171 }
172 172
173 // Generate call to api function. 173 // Generate call to api function.
174 void PropertyHandlerCompiler::GenerateApiAccessorCall( 174 void PropertyHandlerCompiler::GenerateApiAccessorCall(
175 MacroAssembler* masm, const CallOptimization& optimization, 175 MacroAssembler* masm, const CallOptimization& optimization,
176 Handle<Map> receiver_map, Register receiver, Register scratch_in, 176 Handle<Map> receiver_map, Register receiver, Register scratch_in,
177 bool is_store, Register store_parameter, Register accessor_holder, 177 bool is_store, Register store_parameter, Register accessor_holder,
178 int accessor_index) { 178 int accessor_index) {
179 DCHECK(!accessor_holder.is(scratch_in)); 179 DCHECK(!accessor_holder.is(scratch_in));
180 DCHECK(!receiver.is(scratch_in)); 180 DCHECK(!receiver.is(scratch_in));
181 __ push(accessor_holder);
182 __ push(receiver); 181 __ push(receiver);
183 // Write the arguments to stack frame. 182 // Write the arguments to stack frame.
184 if (is_store) { 183 if (is_store) {
185 DCHECK(!receiver.is(store_parameter)); 184 DCHECK(!receiver.is(store_parameter));
186 DCHECK(!scratch_in.is(store_parameter)); 185 DCHECK(!scratch_in.is(store_parameter));
187 __ push(store_parameter); 186 __ push(store_parameter);
188 } 187 }
189 DCHECK(optimization.is_simple_api_call()); 188 DCHECK(optimization.is_simple_api_call());
190 189
191 // Abi for CallApiCallbackStub. 190 // Abi for CallApiCallbackStub.
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 Register NamedStoreHandlerCompiler::value() { 420 Register NamedStoreHandlerCompiler::value() {
422 return StoreDescriptor::ValueRegister(); 421 return StoreDescriptor::ValueRegister();
423 } 422 }
424 423
425 424
426 #undef __ 425 #undef __
427 } // namespace internal 426 } // namespace internal
428 } // namespace v8 427 } // namespace v8
429 428
430 #endif // V8_TARGET_ARCH_ARM 429 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ic/arm64/handler-compiler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698