Index: runtime/vm/isolate.h |
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
index e40b3900876e47edc888d878c8ac940b5ac8bc19..9ff36974a3fa5eefe98e781f01627abb80b64a8d 100644 |
--- a/runtime/vm/isolate.h |
+++ b/runtime/vm/isolate.h |
@@ -257,6 +257,13 @@ class Isolate : public BaseIsolate { |
(((limit & kInterruptsMask) & interrupt_bits) != 0); |
} |
+#if defined(TARGET_ARCH_DBC) |
+ // Access to the current stack limit for DBC interpreter. |
+ uword stack_limit() const { |
+ return stack_limit_; |
+ } |
+#endif |
+ |
// Access to the current stack limit for generated code. This may be |
// overwritten with a special value to trigger interrupts. |
uword stack_limit_address() const { |