From 9529a1c3dd9946c1e63075f4bf146a731769ebe2 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Mon, 19 Jul 2010 18:41:20 +0000 Subject: 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 --- lib/CodeGen/Spiller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/Spiller.h') 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 -- cgit v1.2.3