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..1f9d95aed3550bd9f28147d20cd77fabd30a4d91 100644 |
--- a/test/unittests/interpreter/interpreter-assembler-unittest.h |
+++ b/test/unittests/interpreter/interpreter-assembler-unittest.h |
@@ -24,8 +24,10 @@ class InterpreterAssemblerTest : public TestWithIsolateAndZone { |
class InterpreterAssemblerForTest final : public InterpreterAssembler { |
public: |
InterpreterAssemblerForTest(InterpreterAssemblerTest* test, |
- Bytecode bytecode) |
- : InterpreterAssembler(test->isolate(), test->zone(), bytecode) {} |
+ Bytecode bytecode, |
+ OperandScale operand_scale = OperandScale::k1X) |
+ : 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; |