| Index: src/interpreter/bytecodes.h
|
| diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h
|
| index 5af551376893d3c1bf3c1f1df87e475343eb530f..a3b88f12cdd231abecf7f3caba62af6ddf0b3d54 100644
|
| --- a/src/interpreter/bytecodes.h
|
| +++ b/src/interpreter/bytecodes.h
|
| @@ -186,18 +186,25 @@ namespace interpreter {
|
| /* Control Flow */ \
|
| V(Jump, OperandType::kImm8) \
|
| V(JumpConstant, OperandType::kIdx8) \
|
| + V(JumpConstantWide, OperandType::kIdx16) \
|
| V(JumpIfTrue, OperandType::kImm8) \
|
| V(JumpIfTrueConstant, OperandType::kIdx8) \
|
| + V(JumpIfTrueConstantWide, OperandType::kIdx16) \
|
| V(JumpIfFalse, OperandType::kImm8) \
|
| V(JumpIfFalseConstant, OperandType::kIdx8) \
|
| + V(JumpIfFalseConstantWide, OperandType::kIdx16) \
|
| V(JumpIfToBooleanTrue, OperandType::kImm8) \
|
| V(JumpIfToBooleanTrueConstant, OperandType::kIdx8) \
|
| + V(JumpIfToBooleanTrueConstantWide, OperandType::kIdx16) \
|
| V(JumpIfToBooleanFalse, OperandType::kImm8) \
|
| V(JumpIfToBooleanFalseConstant, OperandType::kIdx8) \
|
| + V(JumpIfToBooleanFalseConstantWide, OperandType::kIdx16) \
|
| V(JumpIfNull, OperandType::kImm8) \
|
| V(JumpIfNullConstant, OperandType::kIdx8) \
|
| + V(JumpIfNullConstantWide, OperandType::kIdx16) \
|
| V(JumpIfUndefined, OperandType::kImm8) \
|
| V(JumpIfUndefinedConstant, OperandType::kIdx8) \
|
| + V(JumpIfUndefinedConstantWide, OperandType::kIdx16) \
|
| \
|
| /* Complex flow control For..in */ \
|
| V(ForInPrepare, OperandType::kReg8, OperandType::kReg8, OperandType::kReg8) \
|
| @@ -354,10 +361,14 @@ class Bytecodes {
|
| static bool IsConditionalJumpImmediate(Bytecode bytecode);
|
|
|
| // Return true if the bytecode is a conditional jump taking
|
| - // a constant pool entry (OperandType::kIdx).
|
| + // a constant pool entry (OperandType::kIdx8).
|
| static bool IsConditionalJumpConstant(Bytecode bytecode);
|
|
|
| // Return true if the bytecode is a conditional jump taking
|
| + // a constant pool entry (OperandType::kIdx16).
|
| + static bool IsConditionalJumpConstantWide(Bytecode bytecode);
|
| +
|
| + // Return true if the bytecode is a conditional jump taking
|
| // any kind of operand.
|
| static bool IsConditionalJump(Bytecode bytecode);
|
|
|
| @@ -366,9 +377,13 @@ class Bytecodes {
|
| static bool IsJumpImmediate(Bytecode bytecode);
|
|
|
| // Return true if the bytecode is a jump or conditional jump taking a
|
| - // constant pool entry (OperandType::kIdx).
|
| + // constant pool entry (OperandType::kIdx8).
|
| static bool IsJumpConstant(Bytecode bytecode);
|
|
|
| + // Return true if the bytecode is a jump or conditional jump taking a
|
| + // constant pool entry (OperandType::kIdx16).
|
| + static bool IsJumpConstantWide(Bytecode bytecode);
|
| +
|
| // Return true if the bytecode is a jump or conditional jump taking
|
| // any kind of operand.
|
| static bool IsJump(Bytecode bytecode);
|
|
|