[PATCH] D51367: [WebAssembly][NFC] Fix formatting from rL340781
Thomas Lively via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 28 11:35:54 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL340861: [WebAssembly][NFC] Fix formatting from rL340781 (authored by tlively, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D51367
Files:
llvm/trunk/utils/TableGen/WebAssemblyStackifierEmitter.cpp
Index: llvm/trunk/utils/TableGen/WebAssemblyStackifierEmitter.cpp
===================================================================
--- llvm/trunk/utils/TableGen/WebAssemblyStackifierEmitter.cpp
+++ llvm/trunk/utils/TableGen/WebAssemblyStackifierEmitter.cpp
@@ -20,9 +20,11 @@
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";
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51367.162917.patch
Type: text/x-patch
Size: 870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180828/f44a36df/attachment.bin>
More information about the llvm-commits
mailing list