Index: src/interpreter/bytecode-array-iterator.h |
diff --git a/src/interpreter/bytecode-array-iterator.h b/src/interpreter/bytecode-array-iterator.h |
index a0de3f0e7737e24436cf69aae83548c086ff2beb..25d99e1cc9b8ffa6e4e2176871d6ffa3092d9aa0 100644 |
--- a/src/interpreter/bytecode-array-iterator.h |
+++ b/src/interpreter/bytecode-array-iterator.h |
@@ -29,9 +29,11 @@ class BytecodeArrayIterator { |
Register GetRegisterOperand(int operand_index) const; |
Handle<Object> GetConstantForIndexOperand(int operand_index) const; |
- private: |
- uint8_t GetOperand(int operand_index, OperandType operand_type) const; |
+ // Get the raw byte for the given operand. Note: you should prefer using the |
+ // typed versions above which cast the return to an appropriate type. |
+ uint8_t GetRawOperand(int operand_index, OperandType operand_type) const; |
+ private: |
Handle<BytecodeArray> bytecode_array_; |
int bytecode_offset_; |