Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index a4c7ae6a45c725b14deb7dfaf786dd4daf682128..61f09ac2e3726d9cddd3a7d65075a53a11a23188 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -655,6 +655,9 @@ void BytecodeGenerator::BuildIndexedJump(Register index, size_t start_index, |
.CompareOperation(Token::Value::EQ_STRICT, index) |
.JumpIfTrue(&(targets[i])); |
} |
+ // TODO(oth): This should be an abort via the runtime with a |
+ // corresponding message., An illegal bytecode should never be |
+ // emitted in valid bytecode. |
builder()->Illegal(); // Should never get here. |
} |