Implement break and continue.  Patch by Anders Carlsson!



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39927 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/CodeGen/CodeGenFunction.cpp b/CodeGen/CodeGenFunction.cpp
index 0cdda6c..8cea3e7 100644
--- a/CodeGen/CodeGenFunction.cpp
+++ b/CodeGen/CodeGenFunction.cpp
@@ -94,6 +94,9 @@
   else
     Builder.CreateRet(llvm::UndefValue::get(CurFn->getReturnType()));
   
+  assert(BreakContinueStack.empty() &&
+         "mismatched push/pop in break/continue stack!");
+  
   // Verify that the function is well formed.
   assert(!verifyFunction(*CurFn));
 }