Index: src/interpreter/bytecodes.h |
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h |
index fb3f1af8f585a4eb87f68bc85be4e66f18bb8b04..e062949f080b2b6a571eead2244c02ac1d1051e6 100644 |
--- a/src/interpreter/bytecodes.h |
+++ b/src/interpreter/bytecodes.h |
@@ -214,7 +214,7 @@ namespace interpreter { |
\ |
/* Cast operators */ \ |
V(ToName, AccumulatorUse::kRead, OperandType::kRegOut) \ |
- V(ToNumber, AccumulatorUse::kRead, OperandType::kRegOut) \ |
+ V(ToNumber, AccumulatorUse::kRead, OperandType::kRegOut, OperandType::kIdx) \ |
V(ToObject, AccumulatorUse::kRead, OperandType::kRegOut) \ |
\ |
/* Literals */ \ |