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

Unified Diff: src/crankshaft/s390/lithium-codegen-s390.h

Issue 1763233003: S390: Initial Impl of Crankshaft features (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/crankshaft/lithium-inl.h ('k') | src/crankshaft/s390/lithium-codegen-s390.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/crankshaft/s390/lithium-codegen-s390.h
diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.h b/src/crankshaft/s390/lithium-codegen-s390.h
similarity index 95%
copy from src/crankshaft/ppc/lithium-codegen-ppc.h
copy to src/crankshaft/s390/lithium-codegen-s390.h
index 1b72bf82dc26cb81aa49df64d55bbe50316223ee..0d06ddc442ddd966d02294c194aee6eae99b6a1d 100644
--- a/src/crankshaft/ppc/lithium-codegen-ppc.h
+++ b/src/crankshaft/s390/lithium-codegen-s390.h
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_
-#define V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_
+#ifndef V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_
+#define V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_
#include "src/ast/scopes.h"
#include "src/crankshaft/lithium-codegen.h"
-#include "src/crankshaft/ppc/lithium-gap-resolver-ppc.h"
-#include "src/crankshaft/ppc/lithium-ppc.h"
+#include "src/crankshaft/s390/lithium-gap-resolver-s390.h"
+#include "src/crankshaft/s390/lithium-s390.h"
#include "src/deoptimizer.h"
#include "src/safepoint-table.h"
#include "src/utils.h"
@@ -34,7 +34,6 @@ class LCodeGen : public LCodeGenBase {
PopulateDeoptimizationLiteralsWithInlinedFunctions();
}
-
int LookupDestination(int block_id) const {
return chunk()->LookupDestination(block_id);
}
@@ -223,7 +222,7 @@ class LCodeGen : public LCodeGenBase {
String::Encoding encoding);
void EmitMathAbs(LMathAbs* instr);
-#if V8_TARGET_ARCH_PPC64
+#if V8_TARGET_ARCH_S390X
void EmitInteger32MathAbs(LMathAbs* instr);
#endif
@@ -242,12 +241,11 @@ class LCodeGen : public LCodeGenBase {
// EmitBranch expects to be the last instruction of a block.
template <class InstrType>
- void EmitBranch(InstrType instr, Condition condition, CRegister cr = cr7);
+ void EmitBranch(InstrType instr, Condition condition);
template <class InstrType>
- void EmitTrueBranch(InstrType instr, Condition condition, CRegister cr = cr7);
+ void EmitTrueBranch(InstrType instr, Condition condition);
template <class InstrType>
- void EmitFalseBranch(InstrType instr, Condition condition,
- CRegister cr = cr7);
+ void EmitFalseBranch(InstrType instr, Condition condition);
void EmitNumberUntagD(LNumberUntagD* instr, Register input,
DoubleRegister result, NumberUntagDMode mode);
@@ -323,7 +321,6 @@ class LCodeGen : public LCodeGenBase {
DISALLOW_COPY_AND_ASSIGN(LCodeGen);
};
-
class LDeferredCode : public ZoneObject {
public:
explicit LDeferredCode(LCodeGen* codegen)
@@ -356,4 +353,4 @@ class LDeferredCode : public ZoneObject {
} // namespace internal
} // namespace v8
-#endif // V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_
+#endif // V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_
« no previous file with comments | « src/crankshaft/lithium-inl.h ('k') | src/crankshaft/s390/lithium-codegen-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698