diff options
author | Rui Ueyama <ruiu@google.com> | 2018-04-24 23:09:57 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2018-04-24 23:09:57 +0000 |
commit | ffa650a183b9a5d8208623ac602cb7aa0881792f (patch) | |
tree | 0d692d5ae48529e9f4529ca2351893cef5836895 | |
parent | a8d0b87f508db337a6dbaf8666b302b1e59cc489 (diff) | |
download | bcm5719-llvm-ffa650a183b9a5d8208623ac602cb7aa0881792f.tar.gz bcm5719-llvm-ffa650a183b9a5d8208623ac602cb7aa0881792f.zip |
Style fix.
llvm-svn: 330785
-rw-r--r-- | lld/wasm/Writer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/wasm/Writer.cpp b/lld/wasm/Writer.cpp index 87c0c40475a..a00ea905b8a 100644 --- a/lld/wasm/Writer.cpp +++ b/lld/wasm/Writer.cpp @@ -364,8 +364,8 @@ void Writer::createRelocSections() { log("createRelocSections"); // Don't use iterator here since we are adding to OutputSection size_t OrigSize = OutputSections.size(); - for (size_t i = 0; i < OrigSize; i++) { - OutputSection *OSec = OutputSections[i]; + for (size_t I = 0; I < OrigSize; I++) { + OutputSection *OSec = OutputSections[I]; uint32_t Count = OSec->numRelocations(); if (!Count) continue; @@ -380,7 +380,7 @@ void Writer::createRelocSections() { SyntheticSection *Section = createSyntheticSection(WASM_SEC_CUSTOM, Name); raw_ostream &OS = Section->getStream(); - writeUleb128(OS, i, "reloc section"); + writeUleb128(OS, I, "reloc section"); writeUleb128(OS, Count, "reloc count"); OSec->writeRelocations(OS); } |