7#if defined(TARGET_ARCH_ARM64)
19void GenerateIncrement(compiler::Assembler* assembler) {
21 __ movz(
R0, compiler::Immediate(0), 0);
23 __ add(
R0,
R0, compiler::Operand(1));
24 __ str(
R0, compiler::Address(
SP));
25 __ ldr(
R1, compiler::Address(
SP));
26 __ add(
R1,
R1, compiler::Operand(1));
35void GenerateEmbedStringInCode(compiler::Assembler* assembler,
37 const String& string_object =
40 __ LoadObject(
R0, string_object);
47void GenerateEmbedSmiInCode(compiler::Assembler* assembler, intptr_t
value) {
49 const int64_t val =
static_cast<int64_t
>(smi_object.ptr());
50 __ LoadImmediate(
R0, val);
static Object & ZoneHandle()
static SmiPtr New(intptr_t value)
static StringPtr New(const char *cstr, Heap::Space space=Heap::kNew)
constexpr intptr_t kWordSize