org.jetbrains.jet.codegen
Class CallGenerator.DefaultCallGenerator
java.lang.Object
org.jetbrains.jet.codegen.CallGenerator.DefaultCallGenerator
- All Implemented Interfaces:
- CallGenerator
- Enclosing interface:
- CallGenerator
public static class CallGenerator.DefaultCallGenerator
- extends java.lang.Object
- implements CallGenerator
Method Summary |
void |
afterParameterPut(org.jetbrains.org.objectweb.asm.Type type,
StackValue stackValue,
ValueParameterDescriptor valueParameterDescriptor)
|
void |
genCall(CallableMethod callableMethod,
ResolvedCall<?> resolvedCall,
boolean callDefault,
ExpressionCodegen codegen)
|
void |
genCallWithoutAssertions(CallableMethod method,
ExpressionCodegen codegen)
|
void |
genValueAndPut(ValueParameterDescriptor valueParameterDescriptor,
JetExpression argumentExpression,
org.jetbrains.org.objectweb.asm.Type parameterType)
|
void |
putCapturedValueOnStack(StackValue stackValue,
org.jetbrains.org.objectweb.asm.Type valueType,
int paramIndex)
|
void |
putHiddenParams()
|
void |
putValueIfNeeded(ValueParameterDescriptor valueParameterDescriptor,
org.jetbrains.org.objectweb.asm.Type parameterType,
StackValue value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallGenerator.DefaultCallGenerator
public CallGenerator.DefaultCallGenerator(ExpressionCodegen codegen)
genCall
public void genCall(@NotNull
CallableMethod callableMethod,
ResolvedCall<?> resolvedCall,
boolean callDefault,
@NotNull
ExpressionCodegen codegen)
- Specified by:
genCall
in interface CallGenerator
genCallWithoutAssertions
public void genCallWithoutAssertions(@NotNull
CallableMethod method,
@NotNull
ExpressionCodegen codegen)
- Specified by:
genCallWithoutAssertions
in interface CallGenerator
afterParameterPut
public void afterParameterPut(@NotNull
org.jetbrains.org.objectweb.asm.Type type,
StackValue stackValue,
@NotNull
ValueParameterDescriptor valueParameterDescriptor)
- Specified by:
afterParameterPut
in interface CallGenerator
putHiddenParams
public void putHiddenParams()
- Specified by:
putHiddenParams
in interface CallGenerator
genValueAndPut
public void genValueAndPut(@NotNull
ValueParameterDescriptor valueParameterDescriptor,
@NotNull
JetExpression argumentExpression,
@NotNull
org.jetbrains.org.objectweb.asm.Type parameterType)
- Specified by:
genValueAndPut
in interface CallGenerator
putCapturedValueOnStack
public void putCapturedValueOnStack(@NotNull
StackValue stackValue,
@NotNull
org.jetbrains.org.objectweb.asm.Type valueType,
int paramIndex)
- Specified by:
putCapturedValueOnStack
in interface CallGenerator
putValueIfNeeded
public void putValueIfNeeded(@Nullable
ValueParameterDescriptor valueParameterDescriptor,
@NotNull
org.jetbrains.org.objectweb.asm.Type parameterType,
@NotNull
StackValue value)
- Specified by:
putValueIfNeeded
in interface CallGenerator