final int nofArgs = sm.getNoArguments(); for (int i=0; i<nofArgs; i++) {  Item v = vstack.popItem(); v.release(eContext); }   helper.writeGetStaticsEntry(curInstrLabel, EAX, sm); helper.invokeJavaMethod(methodRef.getSignature());
methodRef.resolve(loader); final VmStaticMethod sm = (VmStaticMethod) methodRef .getResolvedVmMethod();
	public final void visit_invokestatic(VmConstMethodRef methodRef) {		//TODO: port to orp-style		vstack.push(eContext);				methodRef.resolve(loader);		final VmStaticMethod sm = 			(VmStaticMethod)methodRef.getResolvedVmMethod();		final int nofArgs = sm.getNoArguments();		for (int i=0; i<nofArgs; i++) {			//TODO: check parameter type			Item v = vstack.popItem();			v.release(eContext);		}				// Get static field object		helper.writeGetStaticsEntry(curInstrLabel, EAX, sm);		helper.invokeJavaMethod(methodRef.getSignature());		pushReturnValue(methodRef.getSignature());	}