[WebAssembly][NFC] Fix formatting from rL340781

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D51367

llvm-svn: 340861
This commit is contained in:
Thomas Lively 2018-08-28 18:34:33 +00:00
parent c6fff3b6f5
commit 94a91dbac5
1 changed files with 4 additions and 2 deletions

View File

@ -20,9 +20,11 @@ namespace llvm {
void EmitWebAssemblyStackifier(RecordKeeper &RK, raw_ostream &OS) {
Record *InstrClass = RK.getClass("WebAssemblyInst");
for (auto &RecordPair : RK.getDefs()) {
if (!RecordPair.second->isSubClassOf(InstrClass)) continue;
if (!RecordPair.second->isSubClassOf(InstrClass))
continue;
bool IsStackBased = RecordPair.second->getValueAsBit("StackBased");
if (IsStackBased) continue;
if (IsStackBased)
continue;
OS << " case WebAssembly::" << RecordPair.first << ": return "
<< "WebAssembly::" << RecordPair.first << "_S; break;\n";
}