From 184137a4195f4c2e36d6ab9e5a17a8efa31236fb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 12 Nov 2001 20:13:04 +0000 Subject: [PATCH] Fix minor bug llvm-svn: 1273 --- lib/Transforms/IPO/DeadTypeElimination.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Transforms/IPO/DeadTypeElimination.cpp b/lib/Transforms/IPO/DeadTypeElimination.cpp index d2d9e71ae61..8e705ebff56 100644 --- a/lib/Transforms/IPO/DeadTypeElimination.cpp +++ b/lib/Transforms/IPO/DeadTypeElimination.cpp @@ -122,6 +122,7 @@ bool CleanupGCCOutput::PatchUpMethodReferences(Module *M) { delete Methods[i]; Methods.erase(Methods.begin()+i); Changed = true; + continue; } }