Index: test/unittests/interpreter/register-translator-unittest.cc |
diff --git a/test/unittests/interpreter/register-translator-unittest.cc b/test/unittests/interpreter/register-translator-unittest.cc |
index e9f65a6af0b25429d84f2e78fa2cca0642f7e9b2..45f5fce85475cb0f48a12444414a3fc50cfa1a4d 100644 |
--- a/test/unittests/interpreter/register-translator-unittest.cc |
+++ b/test/unittests/interpreter/register-translator-unittest.cc |
@@ -249,9 +249,9 @@ TEST_F(RegisterTranslatorTest, BadRange2) { |
Register cache_info_pair(194); |
Register cache_info_pair_translated(cache_info_pair.index() + window_width()); |
uint32_t operands[] = {receiver.ToRawOperand(), index.ToRawOperand(), |
- cache_info_pair.ToRawOperand()}; |
+ cache_info_pair.ToRawOperand(), 1}; |
ASSERT_DEATH_IF_SUPPORTED( |
- translator()->TranslateInputRegisters(Bytecode::kForInNext, operands, 3), |
+ translator()->TranslateInputRegisters(Bytecode::kForInNext, operands, 4), |
kBadOperandRegex); |
} |