From bd215cd95b52c098255a6579a057f4efad36e8ce Mon Sep 17 00:00:00 2001 From: "JesusFreke@JesusFreke.com" Date: Wed, 27 Jan 2010 04:53:53 +0000 Subject: [PATCH] Clean up handle32BitPrimitiveSget a bit git-svn-id: https://smali.googlecode.com/svn/trunk@600 55b6fa8a-2a1e-11de-a435-ffa8d773f76a --- .../main/java/org/jf/dexlib/Code/Analysis/MethodAnalyzer.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/MethodAnalyzer.java b/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/MethodAnalyzer.java index b3ad44ae..250b2524 100644 --- a/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/MethodAnalyzer.java +++ b/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/MethodAnalyzer.java @@ -1989,10 +1989,7 @@ public class MethodAnalyzer { private boolean handle32BitPrimitiveSget(AnalyzedInstruction analyzedInstruction, RegisterType.Category instructionCategory) { - SingleRegisterInstruction instruction = (SingleRegisterInstruction)analyzedInstruction.instruction; - //TODO: check access - //TODO: allow an uninitialized "this" reference, if the current method is an method Item referencedItem = ((InstructionWithReference)analyzedInstruction.instruction).getReferencedItem(); assert referencedItem instanceof FieldIdItem; FieldIdItem field = (FieldIdItem)referencedItem;