aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen
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
commit96bd4418b2320dec7cf9573c4f1da0a0ef31465e (patch)
tree1899e9b59191e4a1f7f54d70278b0bb063bf2d22 /include/llvm/CodeGen
parentdf5f0fbc27923be610bed35c32ba8ba91f5699ce (diff)
downloadexternal_llvm-96bd4418b2320dec7cf9573c4f1da0a0ef31465e.zip
external_llvm-96bd4418b2320dec7cf9573c4f1da0a0ef31465e.tar.gz
external_llvm-96bd4418b2320dec7cf9573c4f1da0a0ef31465e.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165049 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/FastISel.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/llvm/CodeGen/FastISel.h b/include/llvm/CodeGen/FastISel.h
index 7cb9695..7f240f5 100644
--- a/include/llvm/CodeGen/FastISel.h
+++ b/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();