예제 #1
0
 protected MacroNode(
     NodeClass<? extends MacroNode> c,
     InvokeKind invokeKind,
     ResolvedJavaMethod targetMethod,
     int bci,
     StampPair returnStamp,
     ValueNode... arguments) {
   super(c, returnStamp.getTrustedStamp());
   assert targetMethod.getSignature().getParameterCount(!targetMethod.isStatic())
       == arguments.length;
   this.arguments = new NodeInputList<>(this, arguments);
   this.bci = bci;
   this.targetMethod = targetMethod;
   this.returnStamp = returnStamp;
   this.invokeKind = invokeKind;
   assert !isPlaceholderBci(bci);
 }
예제 #2
0
 public ParameterNode(int index, StampPair stamp) {
   super(TYPE, index, stamp.getTrustedStamp());
   this.uncheckedStamp = stamp.getUncheckedStamp();
 }