Index: runtime/vm/intermediate_language_arm.cc |
diff --git a/runtime/vm/intermediate_language_arm.cc b/runtime/vm/intermediate_language_arm.cc |
index a82b455e6fb9505ade8c9fa33da87938c1c897e9..1f547339a0fa2e628a9edaad925c206766d08512 100644 |
--- a/runtime/vm/intermediate_language_arm.cc |
+++ b/runtime/vm/intermediate_language_arm.cc |
@@ -925,6 +925,7 @@ LocationSummary* NativeCallInstr::MakeLocationSummary(Zone* zone, |
void NativeCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
+ SetupNative(); |
const Register result = locs()->out(0).reg(); |
// Push the result place holder initialized to NULL. |
@@ -942,7 +943,7 @@ void NativeCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
uword entry; |
const intptr_t argc_tag = NativeArguments::ComputeArgcTag(function()); |
const bool is_leaf_call = |
- (argc_tag & NativeArguments::AutoSetupScopeMask()) == 0; |
+ (argc_tag & NativeArguments::AutoSetupScopeMask()) == 0; |
const StubEntry* stub_entry; |
if (link_lazily()) { |
stub_entry = StubCode::CallBootstrapCFunction_entry(); |