summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/WasmObjectWriter.cpp
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2017-12-20 00:10:28 +0000
committerDan Gohman <dan433584@gmail.com>2017-12-20 00:10:28 +0000
commit83b162269f86daf085a9fc8dfe029bdf64cd6b06 (patch)
tree548e176b60ac08dd167f88098d215bd7d5be1191 /llvm/lib/MC/WasmObjectWriter.cpp
parent1037eef8e08847d9f457b15710652cb38be279dd (diff)
downloadbcm5719-llvm-83b162269f86daf085a9fc8dfe029bdf64cd6b06.tar.gz
bcm5719-llvm-83b162269f86daf085a9fc8dfe029bdf64cd6b06.zip
[WebAssembly] Remove an obsolete comment.
llvm-svn: 321127
Diffstat (limited to 'llvm/lib/MC/WasmObjectWriter.cpp')
-rw-r--r--llvm/lib/MC/WasmObjectWriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/MC/WasmObjectWriter.cpp b/llvm/lib/MC/WasmObjectWriter.cpp
index 6e76c5fac35..f35c47bf549 100644
--- a/llvm/lib/MC/WasmObjectWriter.cpp
+++ b/llvm/lib/MC/WasmObjectWriter.cpp
@@ -1132,8 +1132,7 @@ void WasmObjectWriter::writeObject(MCAssembler &Asm,
Import.IsMutable = false;
SymbolIndices[&WS] = NumGlobalImports;
- // If this global is the stack pointer, make it mutable and remember it
- // so that we can emit metadata for it.
+ // If this global is the stack pointer, make it mutable.
if (WS.getName() == "__stack_pointer")
Import.IsMutable = true;
OpenPOWER on IntegriCloud