[llvm] r354743 - [WebAssembly] Merge two identical switch case routines into one (NFC)
Heejin Ahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 24 00:19:55 PST 2019
Author: aheejin
Date: Sun Feb 24 00:19:55 2019
New Revision: 354743
URL: http://llvm.org/viewvc/llvm-project?rev=354743&view=rev
Log:
[WebAssembly] Merge two identical switch case routines into one (NFC)
Modified:
llvm/trunk/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp?rev=354743&r1=354742&r2=354743&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp Sun Feb 24 00:19:55 2019
@@ -695,12 +695,6 @@ void WebAssemblyCFGStackify::rewriteDept
MachineInstr &MI = *I;
switch (MI.getOpcode()) {
case WebAssembly::BLOCK:
- assert(ScopeTops[Stack.back()->getNumber()]->getNumber() <=
- MBB.getNumber() &&
- "Block/try should be balanced");
- Stack.pop_back();
- break;
-
case WebAssembly::TRY:
assert(ScopeTops[Stack.back()->getNumber()]->getNumber() <=
MBB.getNumber() &&
More information about the llvm-commits
mailing list