Index: runtime/vm/stub_code.h |
diff --git a/runtime/vm/stub_code.h b/runtime/vm/stub_code.h |
index fed306ba637e1178e6f9e51759244d01315a6db2..aa20321ec8fe429decbeb6ebe7f0de47c2e54839 100644 |
--- a/runtime/vm/stub_code.h |
+++ b/runtime/vm/stub_code.h |
@@ -18,9 +18,9 @@ class RawCode; |
class SnapshotReader; |
class SnapshotWriter; |
- |
// List of stubs created in the VM isolate, these stubs are shared by different |
// isolates running in this dart process. |
+#if !defined(TARGET_ARCH_DBC) |
#define VM_STUB_CODE_LIST(V) \ |
V(GetStackPointer) \ |
V(JumpToExceptionHandler) \ |
@@ -65,6 +65,13 @@ class SnapshotWriter; |
V(CallClosureNoSuchMethod) \ |
V(FrameAwaitingMaterialization) \ |
+#else |
+#define VM_STUB_CODE_LIST(V) \ |
+ V(LazyCompile) \ |
+ V(FixCallersTarget) \ |
+ |
+#endif // !defined(TARGET_ARCH_DBC) |
+ |
// Is it permitted for the stubs above to refer to Object::null(), which is |
// allocated in the VM isolate and shared across all isolates. |
// However, in cases where a simple GC-safe placeholder is needed on the stack, |