projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7861163
)
Add an accessor.
author
Chris Lattner
<sabre@nondot.org>
Sun, 23 Jan 2005 22:57:27 +0000
(22:57 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 23 Jan 2005 22:57:27 +0000
(22:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19794
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineFunction.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineFunction.h
b/include/llvm/CodeGen/MachineFunction.h
index 94e9470b76792c175a73f6fcfaa8d22cf1509055..01610c20aa0672068f30a6512ffb26a9e22ca947 100644
(file)
--- a/
include/llvm/CodeGen/MachineFunction.h
+++ b/
include/llvm/CodeGen/MachineFunction.h
@@
-154,7
+154,8
@@
public:
/// getUsedPhysregs - This returns the UsedPhysRegs array. This returns null
/// before register allocation.
- const bool *getUsedPhysregs() { return UsedPhysRegs; }
+ bool *getUsedPhysregs() { return UsedPhysRegs; }
+ const bool *getUsedPhysregs() const { return UsedPhysRegs; }
/// isPhysRegUsed - Return true if the specified register is used in this
/// function. This only works after register allocation.