#include "src/compiler/backend/instruction.h"
#include "src/codegen/register-configuration.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest-support.h"
namespace v8 {
namespace internal {
namespace compiler {
namespace instruction_unittest {
namespace {
const MachineRepresentation kWord = …;
const MachineRepresentation kFloat = …;
const MachineRepresentation kDouble = …;
bool Interfere(LocationOperand::LocationKind kind, MachineRepresentation rep1,
int index1, MachineRepresentation rep2, int index2) { … }
bool Contains(const ZoneVector<MoveOperands*>* moves,
const InstructionOperand& to, const InstructionOperand& from) { … }
}
class InstructionTest : public TestWithZone { … };
TEST_F(InstructionTest, OperandInterference) { … }
TEST_F(InstructionTest, PrepareInsertAfter) { … }
}
}
}
}