src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/meta/HotSpotInvocationPlugins.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/meta/HotSpotInvocationPlugins.java
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/meta/HotSpotInvocationPlugins.java
Print this page
*** 71,81 ****
// require a valid bci should they need to replace themselves with
// an InvokeNode during lowering.
assert plugin.inlineOnly() : String.format("plugin that creates a %s (%s) must return true for inlineOnly(): %s", MacroNode.class.getSimpleName(), node, plugin);
}
}
! if (GraalOptions.ImmutableCode.getValue()) {
for (Node node : newNodes) {
if (node.hasUsages() && node instanceof ConstantNode) {
ConstantNode c = (ConstantNode) node;
if (c.getStackKind() == JavaKind.Object && AheadOfTimeVerificationPhase.isIllegalObjectConstant(c)) {
if (isClass(c)) {
--- 71,81 ----
// require a valid bci should they need to replace themselves with
// an InvokeNode during lowering.
assert plugin.inlineOnly() : String.format("plugin that creates a %s (%s) must return true for inlineOnly(): %s", MacroNode.class.getSimpleName(), node, plugin);
}
}
! if (GraalOptions.ImmutableCode.getValue(b.getOptions())) {
for (Node node : newNodes) {
if (node.hasUsages() && node instanceof ConstantNode) {
ConstantNode c = (ConstantNode) node;
if (c.getStackKind() == JavaKind.Object && AheadOfTimeVerificationPhase.isIllegalObjectConstant(c)) {
if (isClass(c)) {
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/meta/HotSpotInvocationPlugins.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File