Index: test/cctest/compiler/codegen-tester.h |
diff --git a/test/cctest/compiler/codegen-tester.h b/test/cctest/compiler/codegen-tester.h |
index dbb9a7251edc6d568ea3c92cc01290fee9e34034..3450c3a1a5f08f21bd4784526197115238f88b50 100644 |
--- a/test/cctest/compiler/codegen-tester.h |
+++ b/test/cctest/compiler/codegen-tester.h |
@@ -256,7 +256,7 @@ class BufferedRawMachineAssemblerTester<void> |
// 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]; |
} |