| Index: src/compiler/common-operator.cc
|
| diff --git a/src/compiler/common-operator.cc b/src/compiler/common-operator.cc
|
| index 51f93da3b4d30d16913fa72a7447f82e78a10cbc..4f53f65c86638e1d7b132538a055c19308d972c3 100644
|
| --- a/src/compiler/common-operator.cc
|
| +++ b/src/compiler/common-operator.cc
|
| @@ -573,22 +573,20 @@ const Operator* CommonOperatorBuilder::Int64Constant(int64_t value) {
|
|
|
|
|
| const Operator* CommonOperatorBuilder::Float32Constant(volatile float value) {
|
| - return new (zone())
|
| - Operator1<float, base::bit_equal_to<float>, base::bit_hash<float>>( // --
|
| - IrOpcode::kFloat32Constant, Operator::kPure, // opcode
|
| - "Float32Constant", // name
|
| - 0, 0, 0, 1, 0, 0, // counts
|
| - value); // parameter
|
| + return new (zone()) Operator1<float>( // --
|
| + IrOpcode::kFloat32Constant, Operator::kPure, // opcode
|
| + "Float32Constant", // name
|
| + 0, 0, 0, 1, 0, 0, // counts
|
| + value); // parameter
|
| }
|
|
|
|
|
| const Operator* CommonOperatorBuilder::Float64Constant(volatile double value) {
|
| - return new (zone()) Operator1<double, base::bit_equal_to<double>,
|
| - base::bit_hash<double>>( // --
|
| - IrOpcode::kFloat64Constant, Operator::kPure, // opcode
|
| - "Float64Constant", // name
|
| - 0, 0, 0, 1, 0, 0, // counts
|
| - value); // parameter
|
| + return new (zone()) Operator1<double>( // --
|
| + IrOpcode::kFloat64Constant, Operator::kPure, // opcode
|
| + "Float64Constant", // name
|
| + 0, 0, 0, 1, 0, 0, // counts
|
| + value); // parameter
|
| }
|
|
|
|
|
| @@ -603,24 +601,21 @@ const Operator* CommonOperatorBuilder::ExternalConstant(
|
|
|
|
|
| const Operator* CommonOperatorBuilder::NumberConstant(volatile double value) {
|
| - return new (zone()) Operator1<double, base::bit_equal_to<double>,
|
| - base::bit_hash<double>>( // --
|
| - IrOpcode::kNumberConstant, Operator::kPure, // opcode
|
| - "NumberConstant", // name
|
| - 0, 0, 0, 1, 0, 0, // counts
|
| - value); // parameter
|
| + return new (zone()) Operator1<double>( // --
|
| + IrOpcode::kNumberConstant, Operator::kPure, // opcode
|
| + "NumberConstant", // name
|
| + 0, 0, 0, 1, 0, 0, // counts
|
| + value); // parameter
|
| }
|
|
|
|
|
| const Operator* CommonOperatorBuilder::HeapConstant(
|
| const Handle<HeapObject>& value) {
|
| - return new (zone())
|
| - Operator1<Handle<HeapObject>, Handle<HeapObject>::equal_to,
|
| - Handle<HeapObject>::hash>( // --
|
| - IrOpcode::kHeapConstant, Operator::kPure, // opcode
|
| - "HeapConstant", // name
|
| - 0, 0, 0, 1, 0, 0, // counts
|
| - value); // parameter
|
| + return new (zone()) Operator1<Handle<HeapObject>>( // --
|
| + IrOpcode::kHeapConstant, Operator::kPure, // opcode
|
| + "HeapConstant", // name
|
| + 0, 0, 0, 1, 0, 0, // counts
|
| + value); // parameter
|
| }
|
|
|
|
|
|
|