diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-19 18:41:20 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-19 18:41:20 +0000 |
commit | a58a7e7f9eae17a2019073a833eb9c49109a140a (patch) | |
tree | 12ec9f7ae264f4be9e49d78ce0b99516b76ffe0d /llvm/lib/CodeGen/Spiller.h | |
parent | d4e389441d42b14019bff3252fde99e6cd0b9d98 (diff) | |
download | bcm5719-llvm-a58a7e7f9eae17a2019073a833eb9c49109a140a.tar.gz bcm5719-llvm-a58a7e7f9eae17a2019073a833eb9c49109a140a.zip |
Spillers may alter MachineLoopInfo when breaking critical edges, so make it
non-const.
llvm-svn: 108734
Diffstat (limited to 'llvm/lib/CodeGen/Spiller.h')
-rw-r--r-- | llvm/lib/CodeGen/Spiller.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/Spiller.h b/llvm/lib/CodeGen/Spiller.h index 450447b3933..b907f21db85 100644 --- a/llvm/lib/CodeGen/Spiller.h +++ b/llvm/lib/CodeGen/Spiller.h @@ -51,7 +51,7 @@ namespace llvm { /// Create and return a spiller object, as specified on the command line. Spiller* createSpiller(MachineFunction *mf, LiveIntervals *li, - const MachineLoopInfo *loopInfo, VirtRegMap *vrm); + MachineLoopInfo *loopInfo, VirtRegMap *vrm); } #endif |