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:
f26ac56
)
Use lvaGetDesc.
author
Sergey Andreenko
<seandree@microsoft.com>
Tue, 16 Apr 2019 18:12:13 +0000
(11:12 -0700)
committer
Sergey Andreenko
<seandree@microsoft.com>
Tue, 16 Apr 2019 18:12:13 +0000
(11:12 -0700)
src/jit/codegenarmarch.cpp
patch
|
blob
|
history
diff --git
a/src/jit/codegenarmarch.cpp
b/src/jit/codegenarmarch.cpp
index
bd64ba3
..
d07ba32
100644
(file)
--- a/
src/jit/codegenarmarch.cpp
+++ b/
src/jit/codegenarmarch.cpp
@@
-742,7
+742,7
@@
void CodeGen::genPutArgStk(GenTreePutArgStk* treeNode)
if (source->OperGet() == GT_LCL_VAR)
{
assert(varNode != nullptr);
- LclVarDsc* varDsc =
&compiler->lvaTable[varNode->GetLclNum()]
;
+ LclVarDsc* varDsc =
compiler->lvaGetDesc(varNode)
;
// This struct also must live in the stack frame
// And it can't live in a register (SIMD)