aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGCXX.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/CGCXX.cpp')
-rw-r--r--lib/CodeGen/CGCXX.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/CodeGen/CGCXX.cpp b/lib/CodeGen/CGCXX.cpp
index fce3288be1..deaac7499f 100644
--- a/lib/CodeGen/CGCXX.cpp
+++ b/lib/CodeGen/CGCXX.cpp
@@ -375,10 +375,6 @@ CodeGenFunction::EmitCXXAggrConstructorCall(const CXXConstructorDecl *D,
llvm::BasicBlock *ContinueBlock = createBasicBlock("for.inc");
- // Store the blocks to use for break and continue.
- // FIXME. Is this needed?
- BreakContinueStack.push_back(BreakContinue(AfterFor, ContinueBlock));
-
// Inside the loop body, emit the constructor call on the array element.
Counter = Builder.CreateLoad(IndexPtr);
llvm::Value *Address = Builder.CreateInBoundsGEP(This, Counter, "arrayidx");
@@ -390,9 +386,6 @@ CodeGenFunction::EmitCXXAggrConstructorCall(const CXXConstructorDecl *D,
else
EmitCXXConstructorCall(D, Ctor_Complete, Address, 0, 0);
- // FIXME. Do we need this?
- BreakContinueStack.pop_back();
-
EmitBlock(ContinueBlock);
// Emit the increment of the loop counter.