commit | 83717cc2976e644027065abb6ea375fa26dbfebe | [log] [tgz] |
---|---|---|
author | Derek Schuff <dschuff@google.com> | Wed Dec 16 20:43:08 2015 +0000 |
committer | Derek Schuff <dschuff@google.com> | Wed Dec 16 20:43:08 2015 +0000 |
tree | fdd847e3789b566a02eaf064d02c0501291d187e | |
parent | 45cd5a79b24ea75b4d746eae53d3eb8f84a63c2e [diff] [blame] |
Iterate over phys regs instead llvm-svn: 255816
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h b/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h index e3c7f41..6a60280 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h +++ b/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
@@ -89,6 +89,7 @@ assert(WAReg < -1U); PhysRegs[PReg] = WAReg; } + const std::vector<unsigned> &getPhysRegs() const { return PhysRegs; } }; } // end namespace llvm