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
branch_1_1
jochen 26 years ago
parent c41a61b4a3
commit 10f0a467df
  1. 4
      jode/jode/obfuscator/SimpleAnalyzer.java.in

@ -24,8 +24,8 @@ import jode.bytecode.ClassInfo;
import jode.bytecode.BytecodeInfo; import jode.bytecode.BytecodeInfo;
import jode.bytecode.Instruction; import jode.bytecode.Instruction;
import jode.bytecode.Reference; import jode.bytecode.Reference;
import jode.bytecode.TypeSignature;
import jode.GlobalOptions; import jode.GlobalOptions;
import jode.type.Type;
import @COLLECTIONS@.Iterator; import @COLLECTIONS@.Iterator;
import @COLLECTIONS@.ListIterator; import @COLLECTIONS@.ListIterator;
@ -162,7 +162,7 @@ public class SimpleAnalyzer implements CodeAnalyzer, Opcodes {
int stacksize = int stacksize =
(instr.getOpcode() (instr.getOpcode()
== Instruction.opc_putstatic) ? 0 : 1; == Instruction.opc_putstatic) ? 0 : 1;
stacksize += Type.tType(ref.getType()).stackSize(); stacksize += TypeSignature.getTypeSize(ref.getType());
switch (stacksize) { switch (stacksize) {
case 1: case 1:
iter.set(new Instruction(Instruction.opc_pop)); iter.set(new Instruction(Instruction.opc_pop));

Loading…
Cancel
Save