@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); }
@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); }