| Index: test/cctest/compiler/test-js-typed-lowering.cc
|
| diff --git a/test/cctest/compiler/test-js-typed-lowering.cc b/test/cctest/compiler/test-js-typed-lowering.cc
|
| index 9d0d720d26afba20504d5992f101ad83a7872464..c53cd7583b3926f274a93bcfe79e5316047d08e2 100644
|
| --- a/test/cctest/compiler/test-js-typed-lowering.cc
|
| +++ b/test/cctest/compiler/test-js-typed-lowering.cc
|
| @@ -108,17 +108,17 @@ class JSTypedLoweringTester : public HandleAndZoneScope {
|
|
|
| void CheckInt32Constant(int32_t expected, Node* result) {
|
| CHECK_EQ(IrOpcode::kInt32Constant, result->opcode());
|
| - CHECK_EQ(expected, ValueOf<int32_t>(result->op()));
|
| + CHECK_EQ(expected, OpParameter<int32_t>(result));
|
| }
|
|
|
| void CheckNumberConstant(double expected, Node* result) {
|
| CHECK_EQ(IrOpcode::kNumberConstant, result->opcode());
|
| - CHECK_EQ(expected, ValueOf<double>(result->op()));
|
| + CHECK_EQ(expected, OpParameter<double>(result));
|
| }
|
|
|
| void CheckNaN(Node* result) {
|
| CHECK_EQ(IrOpcode::kNumberConstant, result->opcode());
|
| - double value = ValueOf<double>(result->op());
|
| + double value = OpParameter<double>(result);
|
| CHECK(std::isnan(value));
|
| }
|
|
|
| @@ -132,7 +132,7 @@ class JSTypedLoweringTester : public HandleAndZoneScope {
|
|
|
| void CheckHandle(Handle<Object> expected, Node* result) {
|
| CHECK_EQ(IrOpcode::kHeapConstant, result->opcode());
|
| - Handle<Object> value = ValueOf<Handle<Object> >(result->op());
|
| + Handle<Object> value = OpParameter<Unique<Object> >(result).handle();
|
| CHECK_EQ(*expected, *value);
|
| }
|
| };
|
| @@ -240,7 +240,7 @@ static void CheckToI32(Node* old_input, Node* new_input, bool is_signed) {
|
| CHECK_EQ(old_input, new_input);
|
| } else if (new_input->opcode() == IrOpcode::kNumberConstant) {
|
| CHECK(NodeProperties::GetBounds(new_input).upper->Is(expected_type));
|
| - double v = ValueOf<double>(new_input->op());
|
| + double v = OpParameter<double>(new_input);
|
| double e = static_cast<double>(is_signed ? FastD2I(v) : FastD2UI(v));
|
| CHECK_EQ(e, v);
|
| } else {
|
|
|