diff options
author | Brian Bohe <brianbohe@gmail.com> | 2019-03-21 11:19:03 -0700 |
---|---|---|
committer | Sergey Andreenko <seandree@microsoft.com> | 2019-03-21 11:19:03 -0700 |
commit | 9497b0c77819d7b64a0f3c8bf22921182c99c09d (patch) | |
tree | b8c773d09027ed678e5c920a23a7ec3e5be82f45 /src/jit/codegencommon.cpp | |
parent | 9d8fc0a06eae4a657383929ba8ccfebb66730b61 (diff) | |
download | coreclr-9497b0c77819d7b64a0f3c8bf22921182c99c09d.tar.gz coreclr-9497b0c77819d7b64a0f3c8bf22921182c99c09d.tar.bz2 coreclr-9497b0c77819d7b64a0f3c8bf22921182c99c09d.zip |
Moving gen stack level to code gen interface (#23328)
* Make genStackLevel accessible from CodeGenInterface
* Initializing stackLevel before fist BasicBlock's code is generated
* Typo
* Removing extra line on comments
Diffstat (limited to 'src/jit/codegencommon.cpp')
-rw-r--r-- | src/jit/codegencommon.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jit/codegencommon.cpp b/src/jit/codegencommon.cpp index 2b5236b82a..2e15383025 100644 --- a/src/jit/codegencommon.cpp +++ b/src/jit/codegencommon.cpp @@ -11578,3 +11578,8 @@ void CodeGen::genStackPointerCheck(bool doStackPointerCheck, unsigned lvaStackPo } #endif // defined(DEBUG) && defined(_TARGET_XARCH_) + +unsigned CodeGenInterface::getCurrentStackLevel() const +{ + return genStackLevel; +} |