#include "src/interpreter/bytecodes.h"
#include <vector>
#include "src/init/v8.h"
#include "src/interpreter/bytecode-flags-and-tokens.h"
#include "src/interpreter/bytecode-register.h"
#include "test/unittests/test-utils.h"
namespace v8 {
namespace internal {
namespace interpreter {
TEST(OperandConversion, Registers) { … }
TEST(OperandConversion, Parameters) { … }
TEST(OperandConversion, RegistersParametersNoOverlap) { … }
TEST(OperandScaling, ScalableAndNonScalable) { … }
TEST(Bytecodes, RegisterOperands) { … }
TEST(Bytecodes, DebugBreakExistForEachBytecode) { … }
TEST(Bytecodes, DebugBreakForPrefixBytecodes) { … }
TEST(Bytecodes, PrefixMappings) { … }
TEST(Bytecodes, ScaleForSignedOperand) { … }
TEST(Bytecodes, ScaleForUnsignedOperands) { … }
TEST(Bytecodes, SizesForUnsignedOperands) { … }
#define OR_IS_BYTECODE …
#define IN_BYTECODE_LIST …
TEST(Bytecodes, IsJump) { … }
TEST(Bytecodes, IsForwardJump) { … }
TEST(Bytecodes, IsConditionalJump) { … }
TEST(Bytecodes, IsUnconditionalJump) { … }
TEST(Bytecodes, IsJumpImmediate) { … }
TEST(Bytecodes, IsJumpConstant) { … }
TEST(Bytecodes, IsConditionalJumpImmediate) { … }
TEST(Bytecodes, IsConditionalJumpConstant) { … }
TEST(Bytecodes, IsJumpIfToBoolean) { … }
#undef OR_IS_BYTECODE
#undef IN_BYTECODE_LIST
TEST(OperandScale, PrefixesRequired) { … }
TEST(ImplicitRegisterUse, LogicalOperators) { … }
TEST(ImplicitRegisterUse, SampleBytecodes) { … }
TEST(TypeOfLiteral, OnlyUndefinedGreaterThanU) { … }
}
}
}