projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3583d23
)
Use unreachable instead of assert(false) to silence MSVC warning
author
Reid Kleckner
<reid@kleckner.net>
Fri, 20 Feb 2015 19:46:02 +0000
(19:46 +0000)
committer
Reid Kleckner
<reid@kleckner.net>
Fri, 20 Feb 2015 19:46:02 +0000
(19:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230045
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
b/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
index a11e13d88b81649fe0a11ba7d3268ab0f581bc08..5ce4267c1a0523165d07cb9f64bacabe418d4240 100644
(file)
--- a/
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
+++ b/
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
@@
-648,7
+648,7
@@
private:
case PhiState::Conflict:
return stateA;
}
-
assert(false &&
"only three states!");
+
llvm_unreachable(
"only three states!");
}
};
}