projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09acf2a
)
Fix the desktop warning (dotnet/coreclr#22481)
author
Sergey Andreenko
<seandree@microsoft.com>
Fri, 8 Feb 2019 06:01:50 +0000
(22:01 -0800)
committer
GitHub
<noreply@github.com>
Fri, 8 Feb 2019 06:01:50 +0000
(22:01 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/
3fdd786cf6a30beaa55ff69f79da67d4b9ca69c6
src/coreclr/src/jit/codegencommon.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/codegencommon.cpp
b/src/coreclr/src/jit/codegencommon.cpp
index
1ff2871
..
f287835
100644
(file)
--- a/
src/coreclr/src/jit/codegencommon.cpp
+++ b/
src/coreclr/src/jit/codegencommon.cpp
@@
-5843,7
+5843,7
@@
void CodeGen::genPopCalleeSavedRegistersAndFreeLclFrame(bool jmpEpilog)
// Restore sp from fp; here that's #outsz from SP
// sub sp, fp, #outsz
int SPtoFPdelta = genSPtoFPdelta();
- assert(SPtoFPdelta == compiler->lvaOutgoingArgSpaceSize);
+ assert(SPtoFPdelta ==
(int)
compiler->lvaOutgoingArgSpaceSize);
getEmitter()->emitIns_R_R_I(INS_sub, EA_PTRSIZE, REG_SPBASE, REG_FPBASE, SPtoFPdelta);
compiler->unwindSetFrameReg(REG_FPBASE, SPtoFPdelta);
}