Index: runtime/vm/intermediate_language_arm.cc |
=================================================================== |
--- runtime/vm/intermediate_language_arm.cc (revision 45256) |
+++ runtime/vm/intermediate_language_arm.cc (working copy) |
@@ -2869,7 +2869,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(); |
const Register value = instruction_->locs()->temp(0).reg(); |
__ Comment("CheckStackOverflowSlowPathOsr"); |