From fb5252cac1bd1feb22e8b30950f3b1c36e01bb44 Mon Sep 17 00:00:00 2001 From: Wei Mi Date: Mon, 4 Apr 2016 17:45:03 +0000 Subject: Revert r265309 and r265312 because they caused some errors I need to investigate. llvm-svn: 265317 --- llvm/lib/CodeGen/Spiller.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/Spiller.h') diff --git a/llvm/lib/CodeGen/Spiller.h b/llvm/lib/CodeGen/Spiller.h index 21037e68230..08f99ec78ad 100644 --- a/llvm/lib/CodeGen/Spiller.h +++ b/llvm/lib/CodeGen/Spiller.h @@ -16,7 +16,6 @@ namespace llvm { class MachineFunction; class MachineFunctionPass; class VirtRegMap; - class LiveIntervals; /// Spiller interface. /// @@ -29,7 +28,7 @@ namespace llvm { /// spill - Spill the LRE.getParent() live interval. virtual void spill(LiveRangeEdit &LRE) = 0; - virtual void postOptimization() {}; + }; /// Create and return a spiller that will insert spill code directly instead @@ -37,6 +36,7 @@ namespace llvm { Spiller *createInlineSpiller(MachineFunctionPass &pass, MachineFunction &mf, VirtRegMap &vrm); + } #endif -- cgit v1.2.3