| Index: runtime/vm/runtime_entry.cc
|
| diff --git a/runtime/vm/runtime_entry.cc b/runtime/vm/runtime_entry.cc
|
| index 6a74969c65c8c5a2f77d613d95db1a0fdd9f2632..4422fbca15c845fb4813767ae80943b50010bc98 100644
|
| --- a/runtime/vm/runtime_entry.cc
|
| +++ b/runtime/vm/runtime_entry.cc
|
| @@ -1619,7 +1619,7 @@ DEFINE_RUNTIME_ENTRY(StackOverflow, 0) {
|
| UNREACHABLE();
|
| }
|
|
|
| -#if !defined(PRODUCT)
|
| +#if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
|
| // The following code is used to stress test deoptimization and
|
| // debugger stack tracing.
|
| bool do_deopt = false;
|
| @@ -1718,7 +1718,7 @@ DEFINE_RUNTIME_ENTRY(StackOverflow, 0) {
|
| }
|
| FLAG_stacktrace_every = saved_stacktrace_every;
|
| }
|
| -#endif // !defined(PRODUCT)
|
| +#endif // !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
|
|
|
| const Error& error = Error::Handle(thread->HandleInterrupts());
|
| if (!error.IsNull()) {
|
|
|