Index: runtime/vm/intermediate_language_ia32.cc |
=================================================================== |
--- runtime/vm/intermediate_language_ia32.cc (revision 45256) |
+++ runtime/vm/intermediate_language_ia32.cc (working copy) |
@@ -2585,7 +2585,7 @@ |
: instruction_(instruction) { } |
virtual void EmitNativeCode(FlowGraphCompiler* compiler) { |
- if (FLAG_use_osr) { |
+ if (FLAG_use_osr && osr_entry_label()->IsLinked()) { |
uword flags_address = Isolate::Current()->stack_overflow_flags_address(); |
__ Comment("CheckStackOverflowSlowPathOsr"); |
__ Bind(osr_entry_label()); |