From: bdemsky Date: Fri, 26 Jun 2009 00:45:46 +0000 (+0000) Subject: bug fix X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e2441cdcf4648634c39b93a66406b78cf2940fde;p=IRC.git bug fix --- diff --git a/Robust/src/IR/Flat/Inliner.java b/Robust/src/IR/Flat/Inliner.java index 61f3fa50..bd87b314 100644 --- a/Robust/src/IR/Flat/Inliner.java +++ b/Robust/src/IR/Flat/Inliner.java @@ -133,7 +133,8 @@ public class Inliner { fnclone.setNewNext(i, fnnextclone); } } else { - fnclone.addNext(aftercallnode); + if (fnclone!=aftercallnode) + fnclone.addNext(aftercallnode); } }