summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.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/WebAssemblyCFGStackify.cpp
parent6846bc8de25da1da584912900e9bde9725f2b3c3 (diff)
downloadbcm5719-llvm-53d13997925027af4e1d70d314d6bcb0b159672b.tar.gz
bcm5719-llvm-53d13997925027af4e1d70d314d6bcb0b159672b.zip
[WebAssembly] Fix comments to say "LIFO" instead of "FIFO" when describing a stack.
llvm-svn: 254523
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
index dbd00bc10b1..110316ba57b 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
@@ -341,7 +341,7 @@ bool WebAssemblyCFGStackify::runOnMachineFunction(MachineFunction &MF) {
PlaceMarkers(MF, MLI, TII, MDT);
#ifndef NDEBUG
- // Verify that block and loop beginnings and endings are in FIFO order, and
+ // Verify that block and loop beginnings and endings are in LIFO order, and
// that all references to blocks are to blocks on the stack at the point of
// the reference.
SmallVector<std::pair<MachineBasicBlock *, bool>, 0> Stack;
OpenPOWER on IntegriCloud