Package gnu.kawa.reflect
Class CompileArrays
java.lang.Object
gnu.kawa.reflect.CompileArrays
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
compileGet
(ApplyExp exp, Compilation comp, Target target, Procedure proc) static boolean
compileLength
(ApplyExp exp, Compilation comp, Target target, Procedure proc) static boolean
compileMake
(ApplyExp exp, Compilation comp, Target target, Procedure proc) static boolean
compileNew
(ApplyExp exp, Compilation comp, Target target, Procedure proc) static boolean
compileSet
(ApplyExp exp, Compilation comp, Target target, Procedure proc) static void
createArray
(Type elementType, Compilation comp, Expression[] args, int start, int end) Optimized code generation of array creation with splicing support.static Expression
validateArrayGet
(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static Expression
validateArrayLength
(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static Expression
validateArrayNew
(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static Expression
validateArraySet
(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.
-