Package gnu.kawa.reflect
Class CompileArrays
java.lang.Object
gnu.kawa.reflect.CompileArrays
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancompileGet(ApplyExp exp, Compilation comp, Target target, Procedure proc) static booleancompileLength(ApplyExp exp, Compilation comp, Target target, Procedure proc) static booleancompileMake(ApplyExp exp, Compilation comp, Target target, Procedure proc) static booleancompileNew(ApplyExp exp, Compilation comp, Target target, Procedure proc) static booleancompileSet(ApplyExp exp, Compilation comp, Target target, Procedure proc) static voidcreateArray(Type elementType, Compilation comp, Expression[] args, int start, int end) Optimized code generation of array creation with splicing support.static ExpressionvalidateArrayGet(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionvalidateArrayLength(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionvalidateArrayNew(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionvalidateArraySet(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
-
Constructor Details
-
CompileArrays
public CompileArrays()
-
-
Method Details
-
validateArrayNew
public static Expression validateArrayNew(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) -
validateArrayLength
public static Expression validateArrayLength(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) -
validateArrayGet
public static Expression validateArrayGet(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) -
validateArraySet
public static Expression validateArraySet(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) -
compileGet
-
compileSet
-
compileNew
-
compileLength
-
compileMake
-
createArray
public static void createArray(Type elementType, Compilation comp, Expression[] args, int start, int end) Optimized code generation of array creation with splicing support.
-