diff --git a/runtime/vm/dwarf.cc b/runtime/vm/dwarf.cc index 29e54889e33..213611431a2 100644 --- a/runtime/vm/dwarf.cc +++ b/runtime/vm/dwarf.cc @@ -12,9 +12,9 @@ namespace dart { #ifdef DART_PRECOMPILER -#if defined(ARCH_IS_32_BIT) +#if defined(TARGET_ARCH_IS_32_BIT) #define FORM_ADDR ".4byte" -#elif defined(ARCH_IS_64_BIT) +#elif defined(TARGET_ARCH_IS_64_BIT) #define FORM_ADDR ".8byte" #endif diff --git a/runtime/vm/image_snapshot.h b/runtime/vm/image_snapshot.h index f59d946c0e5..a2741d6dc3a 100644 --- a/runtime/vm/image_snapshot.h +++ b/runtime/vm/image_snapshot.h @@ -315,7 +315,7 @@ class AssemblyImageWriter : public ImageWriter { intptr_t WriteByteSequence(uword start, uword end); void WriteWordLiteralText(uword value) { // Padding is helpful for comparing the .S with --disassemble. -#if defined(ARCH_IS_64_BIT) +#if defined(TARGET_ARCH_IS_64_BIT) assembly_stream_.Print(".quad 0x%0.16" Px "\n", value); #else assembly_stream_.Print(".long 0x%0.8" Px "\n", value);