summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2017-04-25 09:58:16 -0700
committerGitHub <noreply@github.com>2017-04-25 09:58:16 -0700
commitecbe10f882f1c6a6defc164efce5485a44d9e494 (patch)
tree791610f9962a5b62937859cb2e789645ad00ebae
parent4012f9c764478e0a5f410cc37d08c19212dfa825 (diff)
parentdd977034647d81e4536768c7246ee6492da0981e (diff)
downloadcoreclr-ecbe10f882f1c6a6defc164efce5485a44d9e494.tar.gz
coreclr-ecbe10f882f1c6a6defc164efce5485a44d9e494.tar.bz2
coreclr-ecbe10f882f1c6a6defc164efce5485a44d9e494.zip
Merge pull request #11191 from BruceForstall/FixFuncletAssert
Fix funclet begin assert
-rw-r--r--src/jit/codegenarm64.cpp2
-rw-r--r--src/jit/codegencommon.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/codegenarm64.cpp b/src/jit/codegenarm64.cpp
index 286128c6f6..2e6e63eeb5 100644
--- a/src/jit/codegenarm64.cpp
+++ b/src/jit/codegenarm64.cpp
@@ -906,7 +906,7 @@ void CodeGen::genFuncletProlog(BasicBlock* block)
#endif
assert(block != NULL);
- assert(block->bbFlags && BBF_FUNCLET_BEG);
+ assert(block->bbFlags & BBF_FUNCLET_BEG);
ScopedSetVariable<bool> _setGeneratingProlog(&compiler->compGeneratingProlog, true);
diff --git a/src/jit/codegencommon.cpp b/src/jit/codegencommon.cpp
index 5b97bca15a..64561de567 100644
--- a/src/jit/codegencommon.cpp
+++ b/src/jit/codegencommon.cpp
@@ -9893,7 +9893,7 @@ void CodeGen::genFuncletProlog(BasicBlock* block)
#endif
assert(block != NULL);
- assert(block->bbFlags && BBF_FUNCLET_BEG);
+ assert(block->bbFlags & BBF_FUNCLET_BEG);
ScopedSetVariable<bool> _setGeneratingProlog(&compiler->compGeneratingProlog, true);