Searched refs:BytecodeInstructionSafe (Results 1 – 2 of 2) sorted by relevance
/arkcompiler/runtime_core/libpandafile/tests/ |
D | bytecode_instruction_tests.cpp | 257 TEST(BytecodeInstructionSafe, Parse) in TEST() argument 263 BytecodeInstructionSafe inst(bytecode, &bytecode[0], &bytecode[sizeof(bytecode) - 1]); in TEST() 265 EXPECT_EQ((inst.GetVReg<BytecodeInstructionSafe::Format::V4_IMM4, 0>()), 1); in TEST() 266 EXPECT_EQ((inst.GetImm<BytecodeInstructionSafe::Format::V4_IMM4, 0>()), -6); in TEST() 271 BytecodeInstructionSafe inst(bytecode, &bytecode[0], &bytecode[sizeof(bytecode) - 1]); in TEST() 273 EXPECT_EQ((inst.GetVReg<BytecodeInstructionSafe::Format::V4_IMM4, 0>()), 0xf); in TEST() 274 EXPECT_EQ((inst.GetImm<BytecodeInstructionSafe::Format::V4_IMM4, 0>()), 0x2); in TEST() 280 BytecodeInstructionSafe inst(bytecode, &bytecode[0], &bytecode[sizeof(bytecode) - 1]); in TEST() 282 … EXPECT_EQ((inst.GetImm<BytecodeInstructionSafe::Format::IMM8, 0>()), static_cast<int8_t>(0xf2)); in TEST() 287 BytecodeInstructionSafe inst(bytecode, &bytecode[0], &bytecode[sizeof(bytecode) - 1]); in TEST() [all …]
|
/arkcompiler/runtime_core/libpandafile/ |
D | bytecode_instruction.h | 410 using BytecodeInstructionSafe = BytecodeInst<BytecodeInstMode::SAFE>; variable
|