예제 #1
0
 @Override
 public void putCapturedValueOnStack(
     @NotNull StackValue stackValue, @NotNull Type valueType, int paramIndex) {
   if (shouldPutValue(stackValue.type, stackValue, null)) {
     stackValue.put(stackValue.type, codegen.v);
   }
   putCapturedInLocal(stackValue.type, stackValue, null, paramIndex);
 }
예제 #2
0
 @Override
 public void putValueIfNeeded(
     @Nullable ValueParameterDescriptor valueParameterDescriptor,
     @NotNull Type parameterType,
     @NotNull StackValue value) {
   if (shouldPutValue(parameterType, value, valueParameterDescriptor)) {
     value.put(parameterType, codegen.v);
   }
   afterParameterPut(parameterType, value, valueParameterDescriptor);
 }