#include "test/unittests/interpreter/interpreter-assembler-unittest.h"
#include "src/builtins/builtins-inl.h"
#include "src/codegen/code-stub-assembler-inl.h"
#include "src/codegen/interface-descriptors.h"
#include "src/compiler/node-properties.h"
#include "src/compiler/node.h"
#include "src/execution/isolate.h"
#include "src/objects/objects-inl.h"
#include "test/unittests/compiler/compiler-test-utils.h"
#include "test/unittests/compiler/node-test-utils.h"
_;
Eq;
c;
namespace v8 {
namespace internal {
namespace interpreter {
namespace interpreter_assembler_unittest {
InterpreterAssemblerTestState::InterpreterAssemblerTestState(
InterpreterAssemblerTest* test, Bytecode bytecode)
: … { … }
const interpreter::Bytecode kBytecodes[] = …;
InterpreterAssemblerTest::InterpreterAssemblerForTest::
~InterpreterAssemblerForTest() { … }
Matcher<c::Node*> InterpreterAssemblerTest::InterpreterAssemblerForTest::IsLoad(
const Matcher<c::LoadRepresentation>& rep_matcher,
const Matcher<c::Node*>& base_matcher,
const Matcher<c::Node*>& index_matcher) { … }
Matcher<c::Node*>
InterpreterAssemblerTest::InterpreterAssemblerForTest::IsLoadFromObject(
const Matcher<c::LoadRepresentation>& rep_matcher,
const Matcher<c::Node*>& base_matcher,
const Matcher<c::Node*>& index_matcher) { … }
Matcher<c::Node*>
InterpreterAssemblerTest::InterpreterAssemblerForTest::IsStore(
const Matcher<c::StoreRepresentation>& rep_matcher,
const Matcher<c::Node*>& base_matcher,
const Matcher<c::Node*>& index_matcher,
const Matcher<c::Node*>& value_matcher) { … }
Matcher<c::Node*>
InterpreterAssemblerTest::InterpreterAssemblerForTest::IsWordNot(
const Matcher<c::Node*>& value_matcher) { … }
Matcher<c::Node*>
InterpreterAssemblerTest::InterpreterAssemblerForTest::IsUnsignedByteOperand(
int offset) { … }
Matcher<c::Node*>
InterpreterAssemblerTest::InterpreterAssemblerForTest::IsSignedByteOperand(
int offset) { … }
Matcher<c::Node*>
InterpreterAssemblerTest::InterpreterAssemblerForTest::IsUnsignedShortOperand(
int offset) { … }
Matcher<c::Node*>
InterpreterAssemblerTest::InterpreterAssemblerForTest::IsSignedShortOperand(
int offset) { … }
Matcher<c::Node*>
InterpreterAssemblerTest::InterpreterAssemblerForTest::IsUnsignedQuadOperand(
int offset) { … }
Matcher<c::Node*>
InterpreterAssemblerTest::InterpreterAssemblerForTest::IsSignedQuadOperand(
int offset) { … }
Matcher<c::Node*>
InterpreterAssemblerTest::InterpreterAssemblerForTest::IsSignedOperand(
int offset, OperandSize operand_size) { … }
Matcher<c::Node*>
InterpreterAssemblerTest::InterpreterAssemblerForTest::IsUnsignedOperand(
int offset, OperandSize operand_size) { … }
Matcher<c::Node*>
InterpreterAssemblerTest::InterpreterAssemblerForTest::IsLoadRegisterOperand(
int offset, OperandSize operand_size) { … }
TARGET_TEST_F(InterpreterAssemblerTest, BytecodeOperand) { … }
TARGET_TEST_F(InterpreterAssemblerTest, GetContext) { … }
TARGET_TEST_F(InterpreterAssemblerTest, LoadObjectField) { … }
TARGET_TEST_F(InterpreterAssemblerTest, CallRuntime2) { … }
TARGET_TEST_F(InterpreterAssemblerTest, CallRuntime) { … }
}
}
}
}