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:
parent
20a4291077
commit
173f0b2ea6
@ -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() &&
|
||||
|
Loading…
Reference in New Issue
Block a user