Index: test/cctest/compiler/codegen-tester.h |
diff --git a/test/cctest/compiler/codegen-tester.h b/test/cctest/compiler/codegen-tester.h |
index 56e90c65b7eed5da0a0c49a1c962b77b2c8a5350..df445fb9acda38d97cd5a4ad7b5bd8e21aa0420e 100644 |
--- a/test/cctest/compiler/codegen-tester.h |
+++ b/test/cctest/compiler/codegen-tester.h |
@@ -92,7 +92,7 @@ class BufferedRawMachineAssemblerTester |
// parameters from memory. Thereby it is possible to pass 64 bit parameters |
// to the IR graph. |
Node* Parameter(size_t index) { |
- CHECK(index >= 0 && index < 4); |
+ CHECK(index < 4); |
return parameter_nodes_[index]; |
} |