diff options
author | Derek Schuff <dschuff@google.com> | 2015-12-16 20:43:08 +0000 |
---|---|---|
committer | Derek Schuff <dschuff@google.com> | 2015-12-16 20:43:08 +0000 |
commit | 83717cc2976e644027065abb6ea375fa26dbfebe (patch) | |
tree | fdd847e3789b566a02eaf064d02c0501291d187e /llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h | |
parent | 45cd5a79b24ea75b4d746eae53d3eb8f84a63c2e (diff) | |
download | bcm5719-llvm-83717cc2976e644027065abb6ea375fa26dbfebe.tar.gz bcm5719-llvm-83717cc2976e644027065abb6ea375fa26dbfebe.zip |
Iterate over phys regs instead
llvm-svn: 255816
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h b/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h index e3c7f41189b..6a60280900a 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h +++ b/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h @@ -89,6 +89,7 @@ public: assert(WAReg < -1U); PhysRegs[PReg] = WAReg; } + const std::vector<unsigned> &getPhysRegs() const { return PhysRegs; } }; } // end namespace llvm |