From: Hanjoung Lee Date: Wed, 2 Aug 2017 08:19:55 +0000 (+0900) Subject: [RyuJIT/armel] Allocate one more temp for call address X-Git-Tag: accepted/tizen/base/20180629.140029~670^2~397^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45a2404fc8109aec9e8620e1596d63a832f4f2b4;p=platform%2Fupstream%2Fcoreclr.git [RyuJIT/armel] Allocate one more temp for call address --- diff --git a/src/jit/lsra.cpp b/src/jit/lsra.cpp index e5c62fd..d54a174 100644 --- a/src/jit/lsra.cpp +++ b/src/jit/lsra.cpp @@ -8839,6 +8839,13 @@ void LinearScan::recordMaxSpill() maxSpill[TYP_FLOAT] += 1; } #endif // _TARGET_X86_ + + if (compiler->opts.compUseSoftFP) + { + JITDUMP("Adding a spill temp for moving target address to a register.\n"); + maxSpill[TYP_INT] += 1; + } + for (int i = 0; i < TYP_COUNT; i++) { if (var_types(i) != compiler->tmpNormalizeType(var_types(i)))