aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-12-02 18:08:49 +0000
committerDan Gohman <dan433584@gmail.com>2015-12-02 18:08:49 +0000
commit53d13997925027af4e1d70d314d6bcb0b159672b (patch)
tree77e3c41311ee6669fd0d91ce699fb4139b9c95f3 /llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
parent6846bc8de25da1da584912900e9bde9725f2b3c3 (diff)
downloadllvm-53d13997925027af4e1d70d314d6bcb0b159672b.zip
llvm-53d13997925027af4e1d70d314d6bcb0b159672b.tar.gz
llvm-53d13997925027af4e1d70d314d6bcb0b159672b.tar.bz2
[WebAssembly] Fix comments to say "LIFO" instead of "FIFO" when describing a stack.
llvm-svn: 254523
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
index c3847dd..bdccc85 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
@@ -117,7 +117,7 @@ bool WebAssemblyRegStackify::runOnMachineFunction(MachineFunction &MF) {
break;
// Iterate through the inputs in reverse order, since we'll be pulling
- // operands off the stack in FIFO order.
+ // operands off the stack in LIFO order.
bool AnyStackified = false;
for (MachineOperand &Op : reverse(Insert->uses())) {
// We're only interested in explicit virtual register operands.