Index: src/interpreter/bytecodes.h |
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h |
index f6c7a2cd69ca9b4a5254549af9abdf224df342b2..e027b12723bb9572592e2ebae7b6ccca57712261 100644 |
--- a/src/interpreter/bytecodes.h |
+++ b/src/interpreter/bytecodes.h |
@@ -211,7 +211,7 @@ namespace interpreter { |
V(TestIn, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
\ |
/* Cast operators */ \ |
- V(ToName, AccumulatorUse::kReadWrite) \ |
+ V(ToName, AccumulatorUse::kRead, OperandType::kRegOut) \ |
V(ToNumber, AccumulatorUse::kRead, OperandType::kRegOut) \ |
V(ToObject, AccumulatorUse::kReadWrite) \ |
\ |