Search in sources :

Example 1 with QuickenedPutFieldNode

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

the class BytecodeNode method quickenPutField.

public int quickenPutField(VirtualFrame frame, int top, int curBCI, int opcode, int statementIndex, Field field) {
    CompilerDirectives.transferToInterpreterAndInvalidate();
    assert opcode == PUTFIELD;
    BaseQuickNode putField = tryPatchQuick(curBCI, () -> new QuickenedPutFieldNode(top, curBCI, field, statementIndex));
    return putField.execute(frame) - Bytecodes.stackEffectOf(opcode);
}
Also used : QuickenedPutFieldNode(com.oracle.truffle.espresso.nodes.quick.interop.QuickenedPutFieldNode) BaseQuickNode(com.oracle.truffle.espresso.nodes.quick.BaseQuickNode)

Aggregations

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