From dbaa44be6c0c6ff38c01912283774b92799abe6e Mon Sep 17 00:00:00 2001 From: "JesusFreke@JesusFreke.com" Date: Fri, 11 Sep 2009 03:14:40 +0000 Subject: [PATCH] wasn't propogating deadness in all cases git-svn-id: https://smali.googlecode.com/svn/trunk@462 55b6fa8a-2a1e-11de-a435-ffa8d773f76a --- dexlib/src/main/java/org/jf/dexlib/Util/DeodexUtil.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dexlib/src/main/java/org/jf/dexlib/Util/DeodexUtil.java b/dexlib/src/main/java/org/jf/dexlib/Util/DeodexUtil.java index 2aa960f5..49683710 100644 --- a/dexlib/src/main/java/org/jf/dexlib/Util/DeodexUtil.java +++ b/dexlib/src/main/java/org/jf/dexlib/Util/DeodexUtil.java @@ -298,6 +298,7 @@ public class DeodexUtil { //it, and let the caller choose which "default" method to call in this case if (regType == RegisterType.Null) { i.fixedInstruction = new UnresolvedNullReference(i.instruction, registerNum); + i.propogateDeadness(); return true; } @@ -360,6 +361,7 @@ public class DeodexUtil { //it, and let the caller choose which "default" method to call in this case if (regType == RegisterType.Null) { i.fixedInstruction = new UnresolvedNullReference(i.instruction, registerNum); + i.propogateDeadness(); return true; } @@ -401,6 +403,7 @@ public class DeodexUtil { //it, and let the caller choose which "default" method to call in this case if (regType == RegisterType.Null) { i.fixedInstruction = new UnresolvedNullReference(i.instruction, registerNum); + i.propogateDeadness(); return true; } @@ -637,6 +640,7 @@ public class DeodexUtil { //and let the caller choose which "default" method to call in this case if (regType == RegisterType.Null) { i.fixedInstruction = new UnresolvedNullReference(i.instruction, registerNum); + i.propogateDeadness(); return true; } @@ -731,6 +735,7 @@ public class DeodexUtil { //and let the caller choose which "default" method to call in this case if (regType == RegisterType.Null) { i.fixedInstruction = new UnresolvedNullReference(i.instruction, registerNum); + i.propogateDeadness(); return true; }