Index: src/interpreter/bytecodes.h |
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h |
index e4bbed349287ab090e410264dd531da99bc70c7f..3aaf37b179ce217d036c50f47f0a066539d1ac08 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) \ |
\ |