| Index: src/compiler/common-operator.h
|
| diff --git a/src/compiler/common-operator.h b/src/compiler/common-operator.h
|
| index cc447ee8f4e0d2817234d63b339c2005719db5ed..b99606e1ac268658d7cb0197dff8da1f0d8cad43 100644
|
| --- a/src/compiler/common-operator.h
|
| +++ b/src/compiler/common-operator.h
|
| @@ -5,10 +5,9 @@
|
| #ifndef V8_COMPILER_COMMON_OPERATOR_H_
|
| #define V8_COMPILER_COMMON_OPERATOR_H_
|
|
|
| -#include "src/v8.h"
|
| -
|
| #include "src/assembler.h"
|
| #include "src/compiler/linkage.h"
|
| +#include "src/compiler/machine-type.h"
|
| #include "src/compiler/opcodes.h"
|
| #include "src/compiler/operator.h"
|
| #include "src/unique.h"
|
| @@ -115,8 +114,9 @@ class CommonOperatorBuilder {
|
| 1, "Parameter", index);
|
| }
|
| Operator* Int32Constant(int32_t value) {
|
| - return new (zone_) Operator1<int>(IrOpcode::kInt32Constant, Operator::kPure,
|
| - 0, 1, "Int32Constant", value);
|
| + return new (zone_)
|
| + Operator1<int32_t>(IrOpcode::kInt32Constant, Operator::kPure, 0, 1,
|
| + "Int32Constant", value);
|
| }
|
| Operator* Int64Constant(int64_t value) {
|
| return new (zone_)
|
| @@ -142,10 +142,10 @@ class CommonOperatorBuilder {
|
| return new (zone_) Operator1<Unique<Object> >(
|
| IrOpcode::kHeapConstant, Operator::kPure, 0, 1, "HeapConstant", value);
|
| }
|
| - Operator* Phi(int arguments) {
|
| + Operator* Phi(MachineType type, int arguments) {
|
| DCHECK(arguments > 0); // Disallow empty phis.
|
| - return new (zone_) Operator1<int>(IrOpcode::kPhi, Operator::kPure,
|
| - arguments, 1, "Phi", arguments);
|
| + return new (zone_) Operator1<MachineType>(IrOpcode::kPhi, Operator::kPure,
|
| + arguments, 1, "Phi", type);
|
| }
|
| Operator* EffectPhi(int arguments) {
|
| DCHECK(arguments > 0); // Disallow empty phis.
|
|
|