X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Fcom%2Fbrian_web%2Fgcclass%2FGCClass.java;fp=src%2Fcom%2Fbrian_web%2Fgcclass%2FGCClass.java;h=86b427148c326658e189f8929049a98f722b8646;hb=6c5c8ed617e9e8f793cfbe9f0117440bfcb9a0a3;hp=02d89cb6f61a98c24311403ed0d1543873986121;hpb=431f2858571452178a061ba5737a36bd91c0482b;p=org.ibex.gcclass.git diff --git a/src/com/brian_web/gcclass/GCClass.java b/src/com/brian_web/gcclass/GCClass.java index 02d89cb..86b4271 100644 --- a/src/com/brian_web/gcclass/GCClass.java +++ b/src/com/brian_web/gcclass/GCClass.java @@ -48,7 +48,12 @@ public class GCClass { System.exit(1); } GCClass gc = new GCClass(args[0]); - for(int i=2;i",Type.VOID,Type.NO_ARGS); if(findMethod(c,clinit) != null) referenceMethod(clinit); @@ -276,6 +305,11 @@ public class GCClass { else if(i instanceof InvokeInstruction) // INVOKESTATIC, INVOKEVIRTUAL, INVOKESPECIAL referenceMethod(new MethodRef((InvokeInstruction)i,cpg,mr)); } + + if(hints.get(mr) != null) { + Vector v = (Vector) hints.get(mr); + for(int i=0;i