summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-10-02 21:16:50 +0000
committerEric Christopher <echristo@apple.com>2012-10-02 21:16:50 +0000
commitd40ce7a43d3d55734342c79736aa88a8bd3aaa47 (patch)
treef58fc7a8a46eced1ba797f7ca8a09f49cacb4dd0 /llvm/include
parentcc613e1c2598818b0cc1ce2a454b373c202934d4 (diff)
downloadbcm5719-llvm-d40ce7a43d3d55734342c79736aa88a8bd3aaa47.tar.gz
bcm5719-llvm-d40ce7a43d3d55734342c79736aa88a8bd3aaa47.zip
Remove the SavePoint infrastructure from fast isel, replace
with just an insert point from the MachineBasicBlock and let the location be updated as we access it. llvm-svn: 165049
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/FastISel.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/llvm/include/llvm/CodeGen/FastISel.h b/llvm/include/llvm/CodeGen/FastISel.h
index 7cb96952aa6..7f240f563ad 100644
--- a/llvm/include/llvm/CodeGen/FastISel.h
+++ b/llvm/include/llvm/CodeGen/FastISel.h
@@ -131,17 +131,12 @@ public:
/// into the current block.
void recomputeInsertPt();
- struct SavePoint {
- MachineBasicBlock::iterator InsertPt;
- DebugLoc DL;
- };
-
/// enterLocalValueArea - Prepare InsertPt to begin inserting instructions
/// into the local value area and return the old insert position.
- SavePoint enterLocalValueArea();
+ MachineBasicBlock::iterator enterLocalValueArea();
/// leaveLocalValueArea - Reset InsertPt to the given old insert position.
- void leaveLocalValueArea(SavePoint Old);
+ void leaveLocalValueArea(MachineBasicBlock::iterator Old);
virtual ~FastISel();
OpenPOWER on IntegriCloud