From 5267792e9b31120c7845fa888787b41bcdc5b38e Mon Sep 17 00:00:00 2001 From: tecodev Date: Sat, 22 Jan 2005 15:27:06 +0000 Subject: [PATCH] * src/SDCCopt.c (killDeadCode): checking for right operand can cause crash somewhere else. Removed. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3647 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCopt.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/SDCCopt.c b/src/SDCCopt.c index 1377a58e..af7d6b6d 100644 --- a/src/SDCCopt.c +++ b/src/SDCCopt.c @@ -886,10 +886,6 @@ killDeadCode (eBBlock ** ebbs, int count) if (IC_LEFT(ic) && isOperandVolatile (IC_LEFT (ic), TRUE)) continue; - /* if the right operand is volatile then continue */ - if (IC_RIGHT(ic) && isOperandVolatile (IC_RIGHT (ic), TRUE)) - continue; - /* if the result is a temp & isaddr then skip */ if (IC_RESULT (ic) && POINTER_SET (ic)) -- 2.30.2