projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Iterate over phys regs instead
[oota-llvm.git]
/
lib
/
Target
/
WebAssembly
/
WebAssemblyMachineFunctionInfo.h
diff --git
a/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
b/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
index e3c7f41189b9c162316669cf209012c556baac85..6a60280900a9b23a33ee99cd886c092190bb9135 100644
(file)
--- a/
lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
+++ b/
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