Go to the source code of this file.
|
const Register | dart::kArg1Reg = CallingConventions::ArgumentRegisters[0] |
|
const Register | dart::kArg2Reg = CallingConventions::ArgumentRegisters[1] |
|
◆ __ [1/2]
◆ __ [2/2]
◆ HASH_TEST
#define HASH_TEST |
( |
|
hash1, |
|
|
|
hash2 |
|
) |
| hash_test(Expect(__FILE__, __LINE__), hash1, hash2) |
◆ LOAD_FROM_BOX_TEST
#define LOAD_FROM_BOX_TEST |
( |
|
SIZE, |
|
|
|
TYPE, |
|
|
|
VALUE, |
|
|
|
SAME_REGISTER |
|
) |
| |
Value:
assembler) { \
const bool same_register = SAME_REGISTER; \
\
\
__ MoveRegister(CallingConventions::kReturnReg,
dst);
\
\
__ Ret(); \
const int64_t res =
test->InvokeWithCodeAndThread<int64_t>(); \
EXPECT_EQ(
static_cast<TYPE>(VALUE),
static_cast<TYPE>(res)); \
}
void LeaveTestFrame(Assembler *assembler)
void EnterTestFrame(Assembler *assembler)
#define ASSEMBLER_TEST_GENERATE(name, assembler)
#define ASSEMBLER_TEST_RUN(name, test)
Definition at line 150 of file assembler_test.cc.
◆ TEST_CODE
#define TEST_CODE |
( |
|
value, |
|
|
|
growable_array, |
|
|
|
thread |
|
) |
| |
Value: test->Invoke<void, ObjectPtr, ObjectPtr, Thread*>(
value, growable_array, \
thread)