org.jetbrains.kotlin.codegen
Class CallGenerator

java.lang.Object
  extended by org.jetbrains.kotlin.codegen.CallGenerator
Direct Known Subclasses:
InlineCodegen

public abstract class CallGenerator
extends java.lang.Object


Constructor Summary
CallGenerator()
           
 
Method Summary
abstract  void afterParameterPut(org.jetbrains.org.objectweb.asm.Type type, StackValue stackValue, ValueParameterDescriptor valueParameterDescriptor)
           
 void genCall(Callable callableMethod, ResolvedCall<?> resolvedCall, boolean callDefault, ExpressionCodegen codegen)
           
abstract  void genCallInner(Callable callableMethod, ResolvedCall<?> resolvedCall, boolean callDefault, ExpressionCodegen codegen)
           
abstract  void genCallWithoutAssertions(CallableMethod callableMethod, ExpressionCodegen codegen)
           
abstract  void genValueAndPut(ValueParameterDescriptor valueParameterDescriptor, JetExpression argumentExpression, org.jetbrains.org.objectweb.asm.Type parameterType)
           
abstract  void putCapturedValueOnStack(StackValue stackValue, org.jetbrains.org.objectweb.asm.Type valueType, int paramIndex)
           
abstract  void putHiddenParams()
           
abstract  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
 

Constructor Detail

CallGenerator

public CallGenerator()
Method Detail

genCall

public void genCall(@NotNull
                    Callable callableMethod,
                    @Nullable
                    ResolvedCall<?> resolvedCall,
                    boolean callDefault,
                    @NotNull
                    ExpressionCodegen codegen)

genCallInner

public abstract void genCallInner(@NotNull
                                  Callable callableMethod,
                                  @Nullable
                                  ResolvedCall<?> resolvedCall,
                                  boolean callDefault,
                                  @NotNull
                                  ExpressionCodegen codegen)

genCallWithoutAssertions

public abstract void genCallWithoutAssertions(@NotNull
                                              CallableMethod callableMethod,
                                              @NotNull
                                              ExpressionCodegen codegen)

afterParameterPut

public abstract void afterParameterPut(@NotNull
                                       org.jetbrains.org.objectweb.asm.Type type,
                                       StackValue stackValue,
                                       @NotNull
                                       ValueParameterDescriptor valueParameterDescriptor)

genValueAndPut

public abstract void genValueAndPut(@NotNull
                                    ValueParameterDescriptor valueParameterDescriptor,
                                    @NotNull
                                    JetExpression argumentExpression,
                                    @NotNull
                                    org.jetbrains.org.objectweb.asm.Type parameterType)

putValueIfNeeded

public abstract void putValueIfNeeded(@Nullable
                                      ValueParameterDescriptor valueParameterDescriptor,
                                      @NotNull
                                      org.jetbrains.org.objectweb.asm.Type parameterType,
                                      @NotNull
                                      StackValue value)

putCapturedValueOnStack

public abstract void putCapturedValueOnStack(@NotNull
                                             StackValue stackValue,
                                             @NotNull
                                             org.jetbrains.org.objectweb.asm.Type valueType,
                                             int paramIndex)

putHiddenParams

public abstract void putHiddenParams()