Index: runtime/vm/stub_code.cc |
=================================================================== |
--- runtime/vm/stub_code.cc (revision 34648) |
+++ runtime/vm/stub_code.cc (working copy) |
@@ -5,6 +5,7 @@ |
#include "vm/stub_code.h" |
#include "platform/assert.h" |
+#include "platform/globals.h" |
#include "vm/assembler.h" |
#include "vm/disassembler.h" |
#include "vm/flags.h" |
@@ -50,9 +51,12 @@ |
void StubCode::InitOnce() { |
+ // TODO(zra): ifndef to be removed when ARM64 port is ready. |
+#if !defined(TARGET_ARCH_ARM64) |
// Generate all the stubs. |
Code& code = Code::Handle(); |
VM_STUB_CODE_LIST(STUB_CODE_GENERATE); |
+#endif |
} |
@@ -66,9 +70,12 @@ |
void StubCode::Init(Isolate* isolate) { |
+ // TODO(zra): ifndef to be removed when ARM64 port is ready. |
+#if !defined(TARGET_ARCH_ARM64) |
StubCode* stubs = new StubCode(); |
isolate->set_stub_code(stubs); |
stubs->GenerateFor(isolate); |
+#endif |
} |