mirror of
https://github.com/revanced/smali.git
synced 2025-05-16 22:17:07 +02:00
Clean up handle32BitPrimitiveSget a bit
git-svn-id: https://smali.googlecode.com/svn/trunk@600 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
052f4890ab
commit
bd215cd95b
@ -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 <init> method
|
||||
Item referencedItem = ((InstructionWithReference)analyzedInstruction.instruction).getReferencedItem();
|
||||
assert referencedItem instanceof FieldIdItem;
|
||||
FieldIdItem field = (FieldIdItem)referencedItem;
|
||||
|
Loading…
x
Reference in New Issue
Block a user