projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fd50d8
)
Fix potentially uninitialized local variable 'regCount'
author
jashook
<jashoo@microsoft.com>
Wed, 6 Sep 2017 16:26:22 +0000
(09:26 -0700)
committer
jashook
<jashoo@microsoft.com>
Wed, 6 Sep 2017 16:26:22 +0000
(09:26 -0700)
src/jit/codegenxarch.cpp
patch
|
blob
|
history
diff --git
a/src/jit/codegenxarch.cpp
b/src/jit/codegenxarch.cpp
index
145c783
..
5128785
100644
(file)
--- a/
src/jit/codegenxarch.cpp
+++ b/
src/jit/codegenxarch.cpp
@@
-1398,7
+1398,7
@@
void CodeGen::genReturn(GenTreePtr treeNode)
// right after the "return", we need to preserve the return reg's GC state
// across the call until actual method return.
ReturnTypeDesc retTypeDesc;
- unsigned regCount;
+ unsigned regCount
= 0
;
if (compiler->compMethodReturnsMultiRegRetType())
{
if (varTypeIsLong(compiler->info.compRetNativeType))