File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
runtime/vm/compiler/backend Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1013,7 +1013,7 @@ void FfiCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
1013
1013
1014
1014
// Reserve space for arguments and align frame before entering C++ world.
1015
1015
__ ReserveAlignedFrameSpace (compiler::ffi::NumStackSlots (arg_locations_) *
1016
- kWordSize );
1016
+ compiler::target:: kWordSize );
1017
1017
1018
1018
FrameRebase rebase (/* old_base=*/ FPREG, /* new_base=*/ saved_fp,
1019
1019
/* stack_delta=*/ 0 );
@@ -1027,7 +1027,8 @@ void FfiCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
1027
1027
// We need to copy the return address up into the dummy stack frame so the
1028
1028
// stack walker will know which safepoint to use.
1029
1029
__ mov (TMP, compiler::Operand (PC));
1030
- __ str (TMP, compiler::Address (FPREG, kSavedCallerPcSlotFromFp * kWordSize ));
1030
+ __ str (TMP, compiler::Address (FPREG, kSavedCallerPcSlotFromFp *
1031
+ compiler::target::kWordSize ));
1031
1032
1032
1033
// For historical reasons, the PC on ARM points 8 bytes past the current
1033
1034
// instruction. Therefore we emit the metadata here, 8 bytes (2 instructions)
You can’t perform that action at this time.
0 commit comments