Index: runtime/vm/intermediate_language.cc |
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc |
index 2389dfc082d2cabb3860847df5470fe85dddf671..f063e7dae66ddea337a74b2470f6eab49cd5630f 100644 |
--- a/runtime/vm/intermediate_language.cc |
+++ b/runtime/vm/intermediate_language.cc |
@@ -5,6 +5,7 @@ |
#include "vm/intermediate_language.h" |
#include "vm/bit_vector.h" |
+#include "vm/compiler.h" |
#include "vm/constant_propagator.h" |
#include "vm/cpu.h" |
#include "vm/dart_entry.h" |
@@ -537,6 +538,11 @@ CatchBlockEntryInstr* GraphEntryInstr::GetCatchEntry(intptr_t index) { |
} |
+bool GraphEntryInstr::IsCompiledForOsr() const { |
+ return osr_id_ != Compiler::kNoOSRDeoptId; |
+} |
+ |
+ |
// ==== Support for visiting flow graphs. |
#define DEFINE_ACCEPT(ShortName) \ |