summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/InstPrinter
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2016-05-17 23:19:03 +0000
committerDan Gohman <dan433584@gmail.com>2016-05-17 23:19:03 +0000
commit71008090805ba66abf12a7b7691962670c87a3b9 (patch)
tree885b85d59ea5a80d24bcbb70714552c220c6c1ff /llvm/lib/Target/WebAssembly/InstPrinter
parent8dc18c5f451a86d95261d434a01ea4393df2fc4a (diff)
downloadbcm5719-llvm-71008090805ba66abf12a7b7691962670c87a3b9.tar.gz
bcm5719-llvm-71008090805ba66abf12a7b7691962670c87a3b9.zip
[WebAssembly] Rename $discard to $drop in the assembly output.
llvm-svn: 269862
Diffstat (limited to 'llvm/lib/Target/WebAssembly/InstPrinter')
-rw-r--r--llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp b/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp
index a58796c1ea8..a450a24bd49 100644
--- a/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp
+++ b/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp
@@ -149,7 +149,7 @@ void WebAssemblyInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
else if (WAReg != WebAssemblyFunctionInfo::UnusedReg)
O << "$push" << (WAReg & INT32_MAX);
else
- O << "$discard";
+ O << "$drop";
// Add a '=' suffix if this is a def.
if (OpNo < MII.get(MI->getOpcode()).getNumDefs())
O << '=';
OpenPOWER on IntegriCloud