7#if defined(TARGET_ARCH_ARM)
19void GenerateIncrement(compiler::Assembler* assembler) {
20 __ LoadImmediate(
R0, 0);
22 __ ldr(
IP, compiler::Address(
SP, 0));
23 __ add(
IP,
IP, compiler::Operand(1));
24 __ str(
IP, compiler::Address(
SP, 0));
25 __ ldr(
IP, compiler::Address(
SP, 0));
26 __ add(
IP,
IP, compiler::Operand(1));
28 __ mov(
R0, compiler::Operand(
IP));
34void GenerateEmbedStringInCode(compiler::Assembler* assembler,
37 const String& string_object =
39 __ LoadObject(
R0, string_object);
40 __ LeaveDartFrameAndReturn();
45void GenerateEmbedSmiInCode(compiler::Assembler* assembler, intptr_t
value) {
48 __ LoadObject(
R0, smi_object);
static Object & ZoneHandle()
static SmiPtr New(intptr_t value)
static StringPtr New(const char *cstr, Heap::Space space=Heap::kNew)