use of org.graalvm.compiler.nodes.DeoptimizeNode in project graal by oracle.
the class BytecodeParser method handleUnresolvedNewObjectArray.
/**
* @param type the type of the array being instantiated
* @param length the length of the array
*/
protected void handleUnresolvedNewObjectArray(JavaType type, ValueNode length) {
assert !graphBuilderConfig.unresolvedIsError();
DeoptimizeNode deopt = append(new DeoptimizeNode(InvalidateRecompile, Unresolved));
deopt.updateNodeSourcePosition(() -> createBytecodePosition());
}
use of org.graalvm.compiler.nodes.DeoptimizeNode in project graal by oracle.
the class BytecodeParser method handleUnresolvedLoadConstant.
/**
* @param type the unresolved type of the constant
*/
protected void handleUnresolvedLoadConstant(JavaType type) {
assert !graphBuilderConfig.unresolvedIsError();
DeoptimizeNode deopt = append(new DeoptimizeNode(InvalidateRecompile, Unresolved));
/*
* Track source position for deopt nodes even if
* GraphBuilderConfiguration.trackNodeSourcePosition is not set.
*/
deopt.updateNodeSourcePosition(() -> createBytecodePosition());
}
use of org.graalvm.compiler.nodes.DeoptimizeNode in project graal by oracle.
the class BytecodeParser method handleUnresolvedStoreField.
/**
* @param field the unresolved field
* @param value the value being stored to the field
* @param receiver the object containing the field or {@code null} if {@code field} is static
*/
protected void handleUnresolvedStoreField(JavaField field, ValueNode value, ValueNode receiver) {
assert !graphBuilderConfig.unresolvedIsError();
DeoptimizeNode deopt = append(new DeoptimizeNode(InvalidateRecompile, Unresolved));
deopt.updateNodeSourcePosition(() -> createBytecodePosition());
}
use of org.graalvm.compiler.nodes.DeoptimizeNode in project graal by oracle.
the class BytecodeParser method handleUnresolvedNewMultiArray.
/**
* @param type the type being instantiated
* @param dims the dimensions for the multi-array
*/
protected void handleUnresolvedNewMultiArray(JavaType type, ValueNode[] dims) {
assert !graphBuilderConfig.unresolvedIsError();
DeoptimizeNode deopt = append(new DeoptimizeNode(InvalidateRecompile, Unresolved));
deopt.updateNodeSourcePosition(() -> createBytecodePosition());
}
use of org.graalvm.compiler.nodes.DeoptimizeNode in project graal by oracle.
the class BytecodeParser method handleUnresolvedLoadField.
/**
* @param field the unresolved field
* @param receiver the object containing the field or {@code null} if {@code field} is static
*/
protected void handleUnresolvedLoadField(JavaField field, ValueNode receiver) {
assert !graphBuilderConfig.unresolvedIsError();
DeoptimizeNode deopt = append(new DeoptimizeNode(InvalidateRecompile, Unresolved));
deopt.updateNodeSourcePosition(() -> createBytecodePosition());
}
Aggregations