Package gnu.kawa.reflect
Class CompileArrays
- java.lang.Object
-
- gnu.kawa.reflect.CompileArrays
-
public class CompileArrays extends Object
-
-
Constructor Summary
Constructors Constructor Description CompileArrays()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
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
public static boolean compileGet(ApplyExp exp, Compilation comp, Target target, Procedure proc)
-
compileSet
public static boolean compileSet(ApplyExp exp, Compilation comp, Target target, Procedure proc)
-
compileNew
public static boolean compileNew(ApplyExp exp, Compilation comp, Target target, Procedure proc)
-
compileLength
public static boolean compileLength(ApplyExp exp, Compilation comp, Target target, Procedure proc)
-
compileMake
public static boolean compileMake(ApplyExp exp, Compilation comp, Target target, Procedure proc)
-
createArray
public static void createArray(Type elementType, Compilation comp, Expression[] args, int start, int end)
Optimized code generation of array creation with splicing support.
-
-