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

Side by Side Diff: src/ic/s390/handler-compiler-s390.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/ppc/handler-compiler-ppc.cc ('k') | src/ic/x64/handler-compiler-x64.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_S390 5 #if V8_TARGET_ARCH_S390
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/field-type.h" 10 #include "src/field-type.h"
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 } 158 }
159 159
160 // Generate call to api function. 160 // Generate call to api function.
161 void PropertyHandlerCompiler::GenerateApiAccessorCall( 161 void PropertyHandlerCompiler::GenerateApiAccessorCall(
162 MacroAssembler* masm, const CallOptimization& optimization, 162 MacroAssembler* masm, const CallOptimization& optimization,
163 Handle<Map> receiver_map, Register receiver, Register scratch_in, 163 Handle<Map> receiver_map, Register receiver, Register scratch_in,
164 bool is_store, Register store_parameter, Register accessor_holder, 164 bool is_store, Register store_parameter, Register accessor_holder,
165 int accessor_index) { 165 int accessor_index) {
166 DCHECK(!accessor_holder.is(scratch_in)); 166 DCHECK(!accessor_holder.is(scratch_in));
167 DCHECK(!receiver.is(scratch_in)); 167 DCHECK(!receiver.is(scratch_in));
168 __ Push(accessor_holder);
169 __ Push(receiver); 168 __ Push(receiver);
170 // Write the arguments to stack frame. 169 // Write the arguments to stack frame.
171 if (is_store) { 170 if (is_store) {
172 DCHECK(!receiver.is(store_parameter)); 171 DCHECK(!receiver.is(store_parameter));
173 DCHECK(!scratch_in.is(store_parameter)); 172 DCHECK(!scratch_in.is(store_parameter));
174 __ Push(store_parameter); 173 __ Push(store_parameter);
175 } 174 }
176 DCHECK(optimization.is_simple_api_call()); 175 DCHECK(optimization.is_simple_api_call());
177 176
178 // Abi for CallApiCallbackStub. 177 // Abi for CallApiCallbackStub.
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 401
403 Register NamedStoreHandlerCompiler::value() { 402 Register NamedStoreHandlerCompiler::value() {
404 return StoreDescriptor::ValueRegister(); 403 return StoreDescriptor::ValueRegister();
405 } 404 }
406 405
407 #undef __ 406 #undef __
408 } // namespace internal 407 } // namespace internal
409 } // namespace v8 408 } // namespace v8
410 409
411 #endif // V8_TARGET_ARCH_ARM 410 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/ic/ppc/handler-compiler-ppc.cc ('k') | src/ic/x64/handler-compiler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698