| Index: src/ppc/codegen-ppc.h
|
| diff --git a/src/arm/codegen-arm.h b/src/ppc/codegen-ppc.h
|
| similarity index 53%
|
| copy from src/arm/codegen-arm.h
|
| copy to src/ppc/codegen-ppc.h
|
| index 4c7c7688fd7ec90152eb3590373eb7ff7f0f5aa4..7638b49b5ac5cc5fdbe558695bbc18a8acf5ef3c 100644
|
| --- a/src/arm/codegen-arm.h
|
| +++ b/src/ppc/codegen-ppc.h
|
| @@ -1,9 +1,12 @@
|
| // Copyright 2011 the V8 project authors. All rights reserved.
|
| +//
|
| +// Copyright IBM Corp. 2012, 2013. All rights reserved.
|
| +//
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef V8_ARM_CODEGEN_ARM_H_
|
| -#define V8_ARM_CODEGEN_ARM_H_
|
| +#ifndef V8_PPC_CODEGEN_PPC_H_
|
| +#define V8_PPC_CODEGEN_PPC_H_
|
|
|
| #include "src/ast.h"
|
| #include "src/macro-assembler.h"
|
| @@ -20,33 +23,25 @@ class StringCharLoadGenerator : public AllStatic {
|
| // Generates the code for handling different string types and loading the
|
| // indexed character into |result|. We expect |index| as untagged input and
|
| // |result| as untagged output.
|
| - static void Generate(MacroAssembler* masm,
|
| - Register string,
|
| - Register index,
|
| - Register result,
|
| - Label* call_runtime);
|
| + static void Generate(MacroAssembler* masm, Register string, Register index,
|
| + Register result, Label* call_runtime);
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(StringCharLoadGenerator);
|
| };
|
|
|
| -
|
| class MathExpGenerator : public AllStatic {
|
| public:
|
| // Register input isn't modified. All other registers are clobbered.
|
| - static void EmitMathExp(MacroAssembler* masm,
|
| - DwVfpRegister input,
|
| - DwVfpRegister result,
|
| - DwVfpRegister double_scratch1,
|
| - DwVfpRegister double_scratch2,
|
| - Register temp1,
|
| - Register temp2,
|
| - Register temp3);
|
| + static void EmitMathExp(MacroAssembler* masm, DoubleRegister input,
|
| + DoubleRegister result, DoubleRegister double_scratch1,
|
| + DoubleRegister double_scratch2, Register temp1,
|
| + Register temp2, Register temp3);
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(MathExpGenerator);
|
| };
|
| +}
|
| +} // namespace v8::internal
|
|
|
| -} } // namespace v8::internal
|
| -
|
| -#endif // V8_ARM_CODEGEN_ARM_H_
|
| +#endif // V8_PPC_CODEGEN_PPC_H_
|
|
|