diff options
Diffstat (limited to 'lib/CodeGen/StackMaps.cpp')
-rw-r--r-- | lib/CodeGen/StackMaps.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/StackMaps.cpp b/lib/CodeGen/StackMaps.cpp index b3cd8b3d80bb..d91bb8066aed 100644 --- a/lib/CodeGen/StackMaps.cpp +++ b/lib/CodeGen/StackMaps.cpp @@ -520,9 +520,9 @@ void StackMaps::emitCallsiteEntries(MCStreamer &OS) { void StackMaps::serializeToStackMapSection() { (void)WSMP; // Bail out if there's no stack map data. - assert((!CSInfos.empty() || (CSInfos.empty() && ConstPool.empty())) && + assert((!CSInfos.empty() || ConstPool.empty()) && "Expected empty constant pool too!"); - assert((!CSInfos.empty() || (CSInfos.empty() && FnStackSize.empty())) && + assert((!CSInfos.empty() || FnStackSize.empty()) && "Expected empty function record too!"); if (CSInfos.empty()) return; |