| 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 306ec48fba8c047299b5adf022dd114a66cf0d18..c8020223f5c524cca5993de158ab185cda5f76b2 100644
|
| --- a/test/cctest/compiler/test-js-typed-lowering.cc
|
| +++ b/test/cctest/compiler/test-js-typed-lowering.cc
|
| @@ -261,16 +261,15 @@ TEST(NumberBinops) {
|
|
|
| static void CheckToI32(Node* old_input, Node* new_input, bool is_signed) {
|
| Type* old_type = NodeProperties::GetBounds(old_input).upper;
|
| + Type* new_type = NodeProperties::GetBounds(new_input).upper;
|
| Type* expected_type = I32Type(is_signed);
|
| + CHECK(new_type->Is(expected_type));
|
| if (old_type->Is(expected_type)) {
|
| CHECK_EQ(old_input, new_input);
|
| } else if (new_input->opcode() == IrOpcode::kNumberConstant) {
|
| - CHECK(NodeProperties::GetBounds(new_input).upper->Is(expected_type));
|
| double v = OpParameter<double>(new_input);
|
| double e = static_cast<double>(is_signed ? FastD2I(v) : FastD2UI(v));
|
| CHECK_EQ(e, v);
|
| - } else {
|
| - CHECK_EQ(NumberToI32(is_signed), new_input->opcode());
|
| }
|
| }
|
|
|
|
|