diff options
author | Eric Christopher <echristo@gmail.com> | 2012-10-03 08:10:01 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2012-10-03 08:10:01 +0000 |
commit | 76ad43c6e1619ed4c087b8ccb2cd573eb9d7093e (patch) | |
tree | 4afc339690b9fd201d020cca8a297fa2d71e768a /include | |
parent | 8e8f8724e17182b8faddd6b009e7f037e0b908e7 (diff) | |
download | external_llvm-76ad43c6e1619ed4c087b8ccb2cd573eb9d7093e.zip external_llvm-76ad43c6e1619ed4c087b8ccb2cd573eb9d7093e.tar.gz external_llvm-76ad43c6e1619ed4c087b8ccb2cd573eb9d7093e.tar.bz2 |
Revert 165051-165049 while looking into the foreach.m failure in
more detail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/FastISel.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/FastISel.h b/include/llvm/CodeGen/FastISel.h index 7f240f5..7cb9695 100644 --- a/include/llvm/CodeGen/FastISel.h +++ b/include/llvm/CodeGen/FastISel.h @@ -131,12 +131,17 @@ 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. - MachineBasicBlock::iterator enterLocalValueArea(); + SavePoint enterLocalValueArea(); /// leaveLocalValueArea - Reset InsertPt to the given old insert position. - void leaveLocalValueArea(MachineBasicBlock::iterator Old); + void leaveLocalValueArea(SavePoint Old); virtual ~FastISel(); |