| 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_
|
|
|