OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1172cc
)
isPhysRegUsed should be const.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 15 Feb 2007 02:55:51 +0000
(
02:55
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 15 Feb 2007 02:55:51 +0000
(
02:55
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34295
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
3b4de3f
..
0ba5970
100644
(file)
--- a/
include/llvm/CodeGen/MachineFunction.h
+++ b/
include/llvm/CodeGen/MachineFunction.h
@@
-184,7
+184,7
@@
public:
/// isPhysRegUsed - Return true if the specified register is used in this
/// function. This only works after register allocation.
- bool isPhysRegUsed(unsigned Reg) { return UsedPhysRegs[Reg]; }
+ bool isPhysRegUsed(unsigned Reg)
const
{ return UsedPhysRegs[Reg]; }
/// changePhyRegUsed - This method allows code that runs after register
/// allocation to keep the PhysRegsUsed array up-to-date.