[lld] r372358 - [WebAssembly][NFC] Remove unnecessary braces
Thomas Lively via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 19 14:51:52 PDT 2019
Author: tlively
Date: Thu Sep 19 14:51:52 2019
New Revision: 372358
URL: http://llvm.org/viewvc/llvm-project?rev=372358&view=rev
Log:
[WebAssembly][NFC] Remove unnecessary braces
Modified:
lld/trunk/wasm/Writer.cpp
Modified: lld/trunk/wasm/Writer.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/Writer.cpp?rev=372358&r1=372357&r2=372358&view=diff
==============================================================================
--- lld/trunk/wasm/Writer.cpp (original)
+++ lld/trunk/wasm/Writer.cpp Thu Sep 19 14:51:52 2019
@@ -690,9 +690,8 @@ void Writer::createOutputSegments() {
return order(a->name) < order(b->name);
});
- for (size_t i = 0; i < segments.size(); ++i) {
+ for (size_t i = 0; i < segments.size(); ++i)
segments[i]->index = i;
- }
}
static void createFunction(DefinedFunction *func, StringRef bodyContent) {
More information about the llvm-commits
mailing list