summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2019-09-19 21:51:52 +0000
committerThomas Lively <tlively@google.com>2019-09-19 21:51:52 +0000
commit0c3d4cfbadef74e7019ac6fc950a0c7034db79bf (patch)
tree24f9d46beabca7635b737282cb776a94fd47f5f1
parenta4da991e4a4e7aef48c37293b20d74cd58dfc0f4 (diff)
downloadbcm5719-llvm-0c3d4cfbadef74e7019ac6fc950a0c7034db79bf.tar.gz
bcm5719-llvm-0c3d4cfbadef74e7019ac6fc950a0c7034db79bf.zip
[WebAssembly][NFC] Remove unnecessary braces
llvm-svn: 372358
-rw-r--r--lld/wasm/Writer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/wasm/Writer.cpp b/lld/wasm/Writer.cpp
index c4a87be519c..1880b3ec862 100644
--- a/lld/wasm/Writer.cpp
+++ b/lld/wasm/Writer.cpp
@@ -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) {
OpenPOWER on IntegriCloud