Index: src/interpreter/bytecodes.h |
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h |
index e3970065e8c8c25819419bff513ee6b7627f7008..a789293f4efa3e9ca3f8c8005750b112be72e702 100644 |
--- a/src/interpreter/bytecodes.h |
+++ b/src/interpreter/bytecodes.h |
@@ -518,6 +518,10 @@ class Bytecodes { |
// OperandType::kNone. |
static const OperandType* GetOperandTypes(Bytecode bytecode); |
+ // Returns a pointer to an array of operand type info terminated in |
+ // OperandTypeInfo::kNone. |
+ static const OperandTypeInfo* GetOperandTypeInfos(Bytecode bytecode); |
+ |
// Returns the size of the i-th operand of |bytecode|. |
static OperandSize GetOperandSize(Bytecode bytecode, int i, |
OperandScale operand_scale); |
@@ -652,10 +656,7 @@ class Bytecodes { |
static OperandSize SizeForSignedOperand(int value); |
// Return the operand size required to hold an unsigned operand. |
- static OperandSize SizeForUnsignedOperand(int value); |
- |
- // Return the operand size required to hold an unsigned operand. |
- static OperandSize SizeForUnsignedOperand(size_t value); |
+ static OperandSize SizeForUnsignedOperand(uint32_t value); |
// Return the OperandScale required for bytecode emission of |
// operand sizes. |