diff options
author | Sergey Andreenko <seandree@microsoft.com> | 2018-12-22 22:42:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-22 22:42:44 -0800 |
commit | 47c5949c83d05080bcd360c274855017bb3f9576 (patch) | |
tree | 39df42c3b06b5569e58ed31805e565ba9f32a5cd /src/jit/lower.cpp | |
parent | a43ac609fc1706b8174c3568f797dce8a81a192f (diff) | |
download | coreclr-47c5949c83d05080bcd360c274855017bb3f9576.tar.gz coreclr-47c5949c83d05080bcd360c274855017bb3f9576.tar.bz2 coreclr-47c5949c83d05080bcd360c274855017bb3f9576.zip |
Fix ArrayStack's call to default constructor for <T>. (#21624)
* Add ArrayStack::Empty
* Add ArrayStack::BottomRef
* Delete unused `ReverseTop`.
* do not use default constructor.
Diffstat (limited to 'src/jit/lower.cpp')
-rw-r--r-- | src/jit/lower.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/lower.cpp b/src/jit/lower.cpp index 5c5ef9fb11..e563609d3c 100644 --- a/src/jit/lower.cpp +++ b/src/jit/lower.cpp @@ -1969,7 +1969,7 @@ void Lowering::LowerFastTailCall(GenTreeCall* call) } } - if (putargs.Height() > 0) + if (!putargs.Empty()) { firstPutArgStk = putargs.Bottom(); } |