public class CompileArrays
extends java.lang.Object
Constructor and Description |
---|
CompileArrays() |
Modifier and Type | Method and Description |
---|---|
static 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) |
public static Expression validateArrayNew(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
public static Expression validateArrayLength(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
public static Expression validateArrayGet(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
public static Expression validateArraySet(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
public static boolean compileGet(ApplyExp exp, Compilation comp, Target target, Procedure proc)
public static boolean compileSet(ApplyExp exp, Compilation comp, Target target, Procedure proc)
public static boolean compileNew(ApplyExp exp, Compilation comp, Target target, Procedure proc)
public static boolean compileLength(ApplyExp exp, Compilation comp, Target target, Procedure proc)
public static boolean compileMake(ApplyExp exp, Compilation comp, Target target, Procedure proc)
public static void createArray(Type elementType, Compilation comp, Expression[] args, int start, int end)