diff options
Diffstat (limited to 'compiler/dex/quick/gen_common.cc')
-rw-r--r-- | compiler/dex/quick/gen_common.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/dex/quick/gen_common.cc b/compiler/dex/quick/gen_common.cc index df6493d..a426cc7 100644 --- a/compiler/dex/quick/gen_common.cc +++ b/compiler/dex/quick/gen_common.cc @@ -611,7 +611,7 @@ void Mir2Lir::HandleThrowLaunchPads() { default: LOG(FATAL) << "Unexpected throw kind: " << lab->operands[0]; } - ClobberCalleeSave(); + ClobberCallerSave(); int r_tgt = CallHelperSetup(func_offset); CallHelper(r_tgt, func_offset, true /* MarkSafepointPC */); } @@ -1026,7 +1026,7 @@ void Mir2Lir::GenInstanceofCallingHelper(bool needs_access_check, bool type_know } } // TODO: only clobber when type isn't final? - ClobberCalleeSave(); + ClobberCallerSave(); /* branch targets here */ LIR* target = NewLIR0(kPseudoTargetLabel); StoreValue(rl_dest, rl_result); |