Search in sources :

Example 1 with QuickenedGetFieldNode

use of com.oracle.truffle.espresso.nodes.quick.interop.QuickenedGetFieldNode in project graal by oracle.

the class BytecodeNode method quickenGetField.

// region quickenForeign
public int quickenGetField(final VirtualFrame frame, int top, int curBCI, int opcode, int statementIndex, Field field) {
    CompilerDirectives.transferToInterpreterAndInvalidate();
    assert opcode == GETFIELD;
    BaseQuickNode getField = tryPatchQuick(curBCI, () -> new QuickenedGetFieldNode(top, curBCI, statementIndex, field));
    return getField.execute(frame) - Bytecodes.stackEffectOf(opcode);
}
Also used : QuickenedGetFieldNode(com.oracle.truffle.espresso.nodes.quick.interop.QuickenedGetFieldNode) BaseQuickNode(com.oracle.truffle.espresso.nodes.quick.BaseQuickNode)

Aggregations

BaseQuickNode (com.oracle.truffle.espresso.nodes.quick.BaseQuickNode)1 QuickenedGetFieldNode (com.oracle.truffle.espresso.nodes.quick.interop.QuickenedGetFieldNode)1