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 8e0ccff27c9fe1b4c195cc1c1c2edbeeae0b4a8b..f504e549fdbc8d238bbb8faba01e9821d48ff44b 100644 |
--- a/test/cctest/compiler/test-js-typed-lowering.cc |
+++ b/test/cctest/compiler/test-js-typed-lowering.cc |
@@ -169,11 +169,6 @@ class JSTypedLoweringTester : public HandleAndZoneScope { |
CHECK_EQ(effect, NodeProperties::GetEffectInput(use)); |
} |
- void CheckInt32Constant(int32_t expected, Node* result) { |
- CHECK_EQ(IrOpcode::kInt32Constant, result->opcode()); |
- CHECK_EQ(expected, OpParameter<int32_t>(result)); |
- } |
- |
void CheckNumberConstant(double expected, Node* result) { |
CHECK_EQ(IrOpcode::kNumberConstant, result->opcode()); |
CHECK_EQ(expected, OpParameter<double>(result)); |
@@ -694,7 +689,7 @@ TEST(RemoveToNumberEffects) { |
JSTypedLoweringTester R; |
Node* effect_use = NULL; |
- Node* zero = R.graph.NewNode(R.common.Int32Constant(0)); |
+ Node* zero = R.graph.NewNode(R.common.NumberConstant(0)); |
for (int i = 0; i < 10; i++) { |
Node* p0 = R.Parameter(Type::Number()); |
Node* ton = R.Unop(R.javascript.ToNumber(), p0); |