7#if defined(TARGET_ARCH_X64)
19void GenerateIncrement(compiler::Assembler* assembler) {
20 __ movq(
RAX, compiler::Immediate(0));
22 __ incq(compiler::Address(
RSP, 0));
23 __ movq(
RCX, compiler::Address(
RSP, 0));
32void GenerateEmbedStringInCode(compiler::Assembler* assembler,
34 const String& string_object =
37 __ LoadObject(
RAX, string_object);
44void GenerateEmbedSmiInCode(compiler::Assembler* assembler, intptr_t
value) {
46 __ movq(
RAX, compiler::Immediate(
static_cast<int64_t
>(smi_object.ptr())));
static Object & ZoneHandle()
static SmiPtr New(intptr_t value)
static StringPtr New(const char *cstr, Heap::Space space=Heap::kNew)