summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2012-10-03 08:10:01 +0000
committerEric Christopher <echristo@gmail.com>2012-10-03 08:10:01 +0000
commitf4fba5cf7a0d01414b462eac4a3741e9a3f2ef0f (patch)
tree3a15b58affc0c750d7b9a4da13a44614c4f4400e /llvm/include
parent32669834d346bfeb739c7f3f17cb83d8141624b7 (diff)
downloadbcm5719-llvm-f4fba5cf7a0d01414b462eac4a3741e9a3f2ef0f.tar.gz
bcm5719-llvm-f4fba5cf7a0d01414b462eac4a3741e9a3f2ef0f.zip
Revert 165051-165049 while looking into the foreach.m failure in
more detail. llvm-svn: 165099
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/FastISel.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/FastISel.h b/llvm/include/llvm/CodeGen/FastISel.h
index 7f240f563ad..7cb96952aa6 100644
--- a/llvm/include/llvm/CodeGen/FastISel.h
+++ b/llvm/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();
OpenPOWER on IntegriCloud