From 83717cc2976e644027065abb6ea375fa26dbfebe Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Wed, 16 Dec 2015 20:43:08 +0000 Subject: Iterate over phys regs instead llvm-svn: 255816 --- llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h') 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 &getPhysRegs() const { return PhysRegs; } }; } // end namespace llvm -- cgit v1.2.3