From 10f0a467df4f01f0378217df4597025131957613 Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 25 Jul 1999 08:28:00 +0000 Subject: [PATCH] Use TypeSignature instead of jode.type.Type git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1134 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/obfuscator/SimpleAnalyzer.java.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jode/jode/obfuscator/SimpleAnalyzer.java.in b/jode/jode/obfuscator/SimpleAnalyzer.java.in index e1dbffb..844d82f 100644 --- a/jode/jode/obfuscator/SimpleAnalyzer.java.in +++ b/jode/jode/obfuscator/SimpleAnalyzer.java.in @@ -24,8 +24,8 @@ import jode.bytecode.ClassInfo; import jode.bytecode.BytecodeInfo; import jode.bytecode.Instruction; import jode.bytecode.Reference; +import jode.bytecode.TypeSignature; import jode.GlobalOptions; -import jode.type.Type; import @COLLECTIONS@.Iterator; import @COLLECTIONS@.ListIterator; @@ -162,7 +162,7 @@ public class SimpleAnalyzer implements CodeAnalyzer, Opcodes { int stacksize = (instr.getOpcode() == Instruction.opc_putstatic) ? 0 : 1; - stacksize += Type.tType(ref.getType()).stackSize(); + stacksize += TypeSignature.getTypeSize(ref.getType()); switch (stacksize) { case 1: iter.set(new Instruction(Instruction.opc_pop));