diff options
author | Andon Andonov <anandono@microsoft.com> | 2018-05-19 05:42:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-19 05:42:43 +0300 |
commit | 087b8f88e266ca28994ffa5a1c77ac0810827c63 (patch) | |
tree | 3cb43664b95e8c45fa754c34018c198c6e7ffe4a /src/Native | |
parent | d6b9e0a319a290e0679fa97e75c146c67f4f440c (diff) |
Change condition check (#5818)
Diffstat (limited to 'src/Native')
-rw-r--r-- | src/Native/Runtime/windows/CoffNativeCodeManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Native/Runtime/windows/CoffNativeCodeManager.cpp b/src/Native/Runtime/windows/CoffNativeCodeManager.cpp index aa3ab5dcb..ae8be443f 100644 --- a/src/Native/Runtime/windows/CoffNativeCodeManager.cpp +++ b/src/Native/Runtime/windows/CoffNativeCodeManager.cpp @@ -417,8 +417,8 @@ UIntNative CoffNativeCodeManager::GetConservativeUpperBoundForOutgoingArgs(Metho } else { - bool rbp = GetFramePointer(pMethodInfo, pRegisterSet) == NULL; - if (!rbp) + // Check for a pushed RBP value + if (GetFramePointer(pMethodInfo, pRegisterSet) == NULL) { // Unwind the current method context to get the caller's stack pointer // and obtain the upper bound of the callee is the value just below the caller's return address on the stack |