diff options
author | Dan Gohman <dan433584@gmail.com> | 2016-10-03 22:43:53 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2016-10-03 22:43:53 +0000 |
commit | e040533ecec5b1c0ab83c1c7b65342d46478afc5 (patch) | |
tree | a6b4a39b1f634ba7c71c9099947c293a693b09d2 /llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp | |
parent | ffc184bb1dd8a0f0815f12272286d24a2adefcc1 (diff) | |
download | bcm5719-llvm-e040533ecec5b1c0ab83c1c7b65342d46478afc5.tar.gz bcm5719-llvm-e040533ecec5b1c0ab83c1c7b65342d46478afc5.zip |
[WebAssembly] Update to more stack-machine-oriented terminology.
WebAssembly has officially switched from being an AST to being a stack
machine. Update various bits of terminology and README.md entries
accordingly.
llvm-svn: 283154
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp index 0c64641609b..9e944df637d 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp @@ -76,7 +76,7 @@ bool WebAssemblyReplacePhysRegs::runOnMachineFunction(MachineFunction &MF) { for (unsigned PReg = WebAssembly::NoRegister + 1; PReg < WebAssembly::NUM_TARGET_REGS; ++PReg) { // Skip fake registers that are never used explicitly. - if (PReg == WebAssembly::EXPR_STACK || PReg == WebAssembly::ARGUMENTS) + if (PReg == WebAssembly::VALUE_STACK || PReg == WebAssembly::ARGUMENTS) continue; // Replace explicit uses of the physical register with a virtual register. |