Index: test/unittests/interpreter/interpreter-assembler-unittest.h |
diff --git a/test/unittests/interpreter/interpreter-assembler-unittest.h b/test/unittests/interpreter/interpreter-assembler-unittest.h |
index 321c72490b05170dd1b91032e47d281d57fa5cff..1493dba6e1424f3dec588a23c06844e8bce5eb36 100644 |
--- a/test/unittests/interpreter/interpreter-assembler-unittest.h |
+++ b/test/unittests/interpreter/interpreter-assembler-unittest.h |
@@ -23,9 +23,11 @@ class InterpreterAssemblerTest : public TestWithIsolateAndZone { |
class InterpreterAssemblerForTest final : public InterpreterAssembler { |
public: |
- InterpreterAssemblerForTest(InterpreterAssemblerTest* test, |
- Bytecode bytecode) |
- : InterpreterAssembler(test->isolate(), test->zone(), bytecode) {} |
+ InterpreterAssemblerForTest( |
+ InterpreterAssemblerTest* test, Bytecode bytecode, |
+ OperandScale operand_scale = OperandScale::kSingle) |
+ : InterpreterAssembler(test->isolate(), test->zone(), bytecode, |
+ operand_scale) {} |
~InterpreterAssemblerForTest() override {} |
Matcher<compiler::Node*> IsLoad( |
@@ -38,10 +40,17 @@ class InterpreterAssemblerTest : public TestWithIsolateAndZone { |
const Matcher<compiler::Node*>& index_matcher, |
const Matcher<compiler::Node*>& value_matcher); |
- Matcher<compiler::Node*> IsBytecodeOperand(int offset); |
- Matcher<compiler::Node*> IsBytecodeOperandSignExtended(int offset); |
- Matcher<compiler::Node*> IsBytecodeOperandShort(int offset); |
- Matcher<compiler::Node*> IsBytecodeOperandShortSignExtended(int offset); |
+ Matcher<compiler::Node*> IsUnsignedByteOperand(int offset); |
+ Matcher<compiler::Node*> IsSignedByteOperand(int offset); |
+ Matcher<compiler::Node*> IsUnsignedShortOperand(int offset); |
+ Matcher<compiler::Node*> IsSignedShortOperand(int offset); |
+ Matcher<compiler::Node*> IsUnsignedQuadOperand(int offset); |
+ Matcher<compiler::Node*> IsSignedQuadOperand(int offset); |
+ |
+ Matcher<compiler::Node*> IsSignedOperand(int offset, |
+ OperandSize operand_size); |
+ Matcher<compiler::Node*> IsUnsignedOperand(int offset, |
+ OperandSize operand_size); |
using InterpreterAssembler::graph; |