| Index: runtime/vm/stub_code_x64.cc
|
| diff --git a/runtime/vm/stub_code_x64.cc b/runtime/vm/stub_code_x64.cc
|
| index e3213769d71924ec99a1ef7ca433b2571e4a89be..e13b54fea0a482c5cff932119d622f9ce6c25cc6 100644
|
| --- a/runtime/vm/stub_code_x64.cc
|
| +++ b/runtime/vm/stub_code_x64.cc
|
| @@ -83,6 +83,7 @@ void StubCode::GenerateCallToRuntimeStub(Assembler* assembler) {
|
| __ movq(Address(RSP, isolate_offset), CTX); // Set isolate in NativeArgs.
|
| // There are no runtime calls to closures, so we do not need to set the tag
|
| // bits kClosureFunctionBit and kInstanceFunctionBit in argc_tag_.
|
| + __ SmiUntag(R10);
|
| __ movq(Address(RSP, argc_tag_offset), R10); // Set argc in NativeArguments.
|
| __ leaq(RAX, Address(RBP, R10, TIMES_8, 1 * kWordSize)); // Compute argv.
|
| __ movq(Address(RSP, argv_offset), RAX); // Set argv in NativeArguments.
|
|
|