use of com.oracle.truffle.espresso.runtime.StaticObject in project graal by oracle.
the class DoubleArrayLoadQuickNode method execute.
@Override
public int execute(VirtualFrame frame) {
int index = BytecodeNode.popInt(frame, top - 1);
StaticObject array = nullCheck(BytecodeNode.popObject(frame, top - 2));
BytecodeNode.putDouble(frame, top - 2, doubleArrayLoad.execute(array, index));
return stackEffectOf_DALOAD;
}
use of com.oracle.truffle.espresso.runtime.StaticObject in project graal by oracle.
the class DoubleArrayStoreQuickNode method execute.
@Override
public int execute(VirtualFrame frame) {
double value = BytecodeNode.popDouble(frame, top - 1);
int index = BytecodeNode.popInt(frame, top - 3);
StaticObject array = nullCheck(BytecodeNode.popObject(frame, top - 4));
doubleArrayStore.execute(array, index, value);
return stackEffectOf_DASTORE;
}
use of com.oracle.truffle.espresso.runtime.StaticObject in project graal by oracle.
the class FloatArrayStoreQuickNode method execute.
@Override
public int execute(VirtualFrame frame) {
float value = BytecodeNode.popFloat(frame, top - 1);
int index = BytecodeNode.popInt(frame, top - 2);
StaticObject array = nullCheck(BytecodeNode.popObject(frame, top - 3));
floatArrayStore.execute(array, index, value);
return stackEffectOf_FASTORE;
}
use of com.oracle.truffle.espresso.runtime.StaticObject in project graal by oracle.
the class LongArrayLoadQuickNode method execute.
@Override
public int execute(VirtualFrame frame) {
int index = BytecodeNode.popInt(frame, top - 1);
StaticObject array = nullCheck(BytecodeNode.popObject(frame, top - 2));
BytecodeNode.putLong(frame, top - 2, longArrayLoad.execute(array, index));
return stackEffectOf_LALOAD;
}
use of com.oracle.truffle.espresso.runtime.StaticObject in project graal by oracle.
the class QuickenedGetFieldNode method execute.
@Override
public int execute(VirtualFrame frame) {
BytecodeNode root = getBytecodeNode();
StaticObject receiver = nullCheck(BytecodeNode.popObject(frame, top - 1));
// -receiver
return getFieldNode.getField(frame, root, receiver, top - 1, statementIndex) - 1;
}
Aggregations