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

Side by Side Diff: src/ic/arm64/handler-compiler-arm64.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/ic/arm/handler-compiler-arm.cc ('k') | src/ic/ia32/handler-compiler-ia32.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_ARM64 5 #if V8_TARGET_ARCH_ARM64
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/arm64/assembler-arm64-inl.h" 10 #include "src/arm64/assembler-arm64-inl.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // Generate call to api function. 104 // Generate call to api function.
105 void PropertyHandlerCompiler::GenerateApiAccessorCall( 105 void PropertyHandlerCompiler::GenerateApiAccessorCall(
106 MacroAssembler* masm, const CallOptimization& optimization, 106 MacroAssembler* masm, const CallOptimization& optimization,
107 Handle<Map> receiver_map, Register receiver, Register scratch, 107 Handle<Map> receiver_map, Register receiver, Register scratch,
108 bool is_store, Register store_parameter, Register accessor_holder, 108 bool is_store, Register store_parameter, Register accessor_holder,
109 int accessor_index) { 109 int accessor_index) {
110 DCHECK(!AreAliased(accessor_holder, scratch)); 110 DCHECK(!AreAliased(accessor_holder, scratch));
111 DCHECK(!AreAliased(receiver, scratch)); 111 DCHECK(!AreAliased(receiver, scratch));
112 112
113 MacroAssembler::PushPopQueue queue(masm); 113 MacroAssembler::PushPopQueue queue(masm);
114 queue.Queue(accessor_holder);
115 queue.Queue(receiver); 114 queue.Queue(receiver);
116 // Write the arguments to the stack frame. 115 // Write the arguments to the stack frame.
117 if (is_store) { 116 if (is_store) {
118 DCHECK(!receiver.is(store_parameter)); 117 DCHECK(!receiver.is(store_parameter));
119 DCHECK(!scratch.is(store_parameter)); 118 DCHECK(!scratch.is(store_parameter));
120 queue.Queue(store_parameter); 119 queue.Queue(store_parameter);
121 } 120 }
122 queue.PushQueued(); 121 queue.PushQueued();
123 122
124 DCHECK(optimization.is_simple_api_call()); 123 DCHECK(optimization.is_simple_api_call());
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 // Return the generated code. 423 // Return the generated code.
425 return GetCode(kind(), name); 424 return GetCode(kind(), name);
426 } 425 }
427 426
428 427
429 #undef __ 428 #undef __
430 } // namespace internal 429 } // namespace internal
431 } // namespace v8 430 } // namespace v8
432 431
433 #endif // V8_TARGET_ARCH_IA32 432 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ic/arm/handler-compiler-arm.cc ('k') | src/ic/ia32/handler-compiler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698