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

Side by Side Diff: src/ic/s390/ic-compiler-s390.cc

Issue 1743263003: S390: Initial impl of debug and ic (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix s390 files under correct target in BUILD.gn Created 4 years, 9 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/s390/handler-compiler-s390.cc ('k') | src/ic/s390/ic-s390.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 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_PPC 5 #if V8_TARGET_ARCH_S390
6 6
7 #include "src/ic/ic.h" 7 #include "src/ic/ic.h"
8 #include "src/ic/ic-compiler.h" 8 #include "src/ic/ic-compiler.h"
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 12
13 #define __ ACCESS_MASM(masm) 13 #define __ ACCESS_MASM(masm)
14 14
15
16 void PropertyICCompiler::GenerateRuntimeSetProperty( 15 void PropertyICCompiler::GenerateRuntimeSetProperty(
17 MacroAssembler* masm, LanguageMode language_mode) { 16 MacroAssembler* masm, LanguageMode language_mode) {
18 __ mov(r0, Operand(Smi::FromInt(language_mode))); 17 __ mov(r0, Operand(Smi::FromInt(language_mode)));
19 __ Push(StoreDescriptor::ReceiverRegister(), StoreDescriptor::NameRegister(), 18 __ Push(StoreDescriptor::ReceiverRegister(), StoreDescriptor::NameRegister(),
20 StoreDescriptor::ValueRegister(), r0); 19 StoreDescriptor::ValueRegister(), r0);
21 20
22 // Do tail-call to runtime routine. 21 // Do tail-call to runtime routine.
23 __ TailCallRuntime(Runtime::kSetProperty); 22 __ TailCallRuntime(Runtime::kSetProperty);
24 } 23 }
25 24
26
27 #undef __ 25 #undef __
28 } // namespace internal 26 } // namespace internal
29 } // namespace v8 27 } // namespace v8
30 28
31 #endif // V8_TARGET_ARCH_PPC 29 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/ic/s390/handler-compiler-s390.cc ('k') | src/ic/s390/ic-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698