01: package ch.ethz.prose.jvmai.jikesrvm.stub_weaver;
02:
03: import com.ibm.JikesRVM.VM_JVMAI;
04: import ch.ethz.jvmai.MethodEntryJoinPoint;
05:
06: /**
07: * Concrete implementation of a MethodEntryJoinPoint for the Jikes RVM.
08: *
09: * @author Johann Gyger
10: */
11: public class MethodEntryJoinPointImpl extends MethodJoinPointImpl
12: implements MethodEntryJoinPoint {
13:
14: public String getKind() {
15: return KIND_METHOD_ENTRY_JP;
16: }
17:
18: public int getMask() {
19: return MASK_CODE_JP | MASK_METHOD_ENTRY_JP;
20: }
21:
22: public void setArg(int pos, Object value) {
23: VM_JVMAI.getInstance().setArg(this, pos, value);
24: }
25:
26: }
|