1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[WebAssembly] Merge two identical switch case routines into one (NFC)

llvm-svn: 354743
This commit is contained in:
Heejin Ahn 2019-02-24 08:19:55 +00:00
parent 20a4291077
commit 173f0b2ea6

View File

@ -695,12 +695,6 @@ void WebAssemblyCFGStackify::rewriteDepthImmediates(MachineFunction &MF) {
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() &&