aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/Spiller.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-19 18:41:20 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-19 18:41:20 +0000
commit9529a1c3dd9946c1e63075f4bf146a731769ebe2 (patch)
treeacee31dfaf24d4e334370d20d01dcf40bb0280e4 /lib/CodeGen/Spiller.h
parent6ee32707f1dda2d885812c0a2e755051d1d7db08 (diff)
Spillers may alter MachineLoopInfo when breaking critical edges, so make it
non-const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Spiller.h')
-rw-r--r--lib/CodeGen/Spiller.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/Spiller.h b/lib/CodeGen/Spiller.h
index 450447b393..b907f21db8 100644
--- a/lib/CodeGen/Spiller.h
+++ b/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