| Index: src/interpreter/bytecodes.h
|
| diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h
|
| index d67a390d121021173bcfd22c29ac2b4621a96917..dc14b4daf6605c4ad285666ef27561a45478c7d4 100644
|
| --- a/src/interpreter/bytecodes.h
|
| +++ b/src/interpreter/bytecodes.h
|
| @@ -491,6 +491,10 @@ class Bytecodes {
|
| static OperandSize GetOperandSize(Bytecode bytecode, int i,
|
| OperandScale operand_scale);
|
|
|
| + // Returns a pointer to an array of the operand sizes for |bytecode|.
|
| + static const OperandSize* GetOperandSizes(Bytecode bytecode,
|
| + OperandScale operand_scale);
|
| +
|
| // Returns the offset of the i-th operand of |bytecode| relative to the start
|
| // of the bytecode.
|
| static int GetOperandOffset(Bytecode bytecode, int i,
|
| @@ -624,9 +628,10 @@ class Bytecodes {
|
|
|
| // Return the OperandScale required for bytecode emission of
|
| // operand sizes.
|
| + static OperandScale OperandSizesToScale(OperandSize size0);
|
| + static OperandScale OperandSizesToScale(OperandSize size0, OperandSize size1);
|
| static OperandScale OperandSizesToScale(
|
| - OperandSize size0, OperandSize size1 = OperandSize::kByte,
|
| - OperandSize size2 = OperandSize::kByte,
|
| + OperandSize size0, OperandSize size1, OperandSize size2,
|
| OperandSize size3 = OperandSize::kByte);
|
|
|
| private:
|
|
|