Skip to content

Commit 6ff944a

Browse files
committed
[GR-22097] Remove native image annotation from SymbolicSnippetEncoder (#2304).
PullRequest: graal/5820
2 parents 6fe6878 + 2971ed1 commit 6ff944a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

compiler/src/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/SymbolicSnippetEncoder.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@
104104
import org.graalvm.compiler.replacements.ReplacementsImpl;
105105
import org.graalvm.compiler.replacements.SnippetCounter;
106106
import org.graalvm.compiler.replacements.SnippetIntegerHistogram;
107-
import org.graalvm.nativeimage.Platform;
108-
import org.graalvm.nativeimage.Platforms;
109107

110108
import jdk.vm.ci.code.TargetDescription;
111109
import jdk.vm.ci.hotspot.HotSpotJVMCIRuntime;
@@ -129,7 +127,6 @@
129127
* method references into a symbolic form that can be resolved at graph decode time using
130128
* {@link SymbolicJVMCIReference}.
131129
*/
132-
@Platforms(Platform.HOSTED_ONLY.class)
133130
public class SymbolicSnippetEncoder {
134131

135132
/**

substratevm/src/com.oracle.svm.graal.hotspot.libgraal/src/com/oracle/svm/graal/hotspot/libgraal/LibGraalFeature.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,3 +779,8 @@ public boolean getAsBoolean() {
779779
}
780780
}
781781
}
782+
783+
@TargetClass(className = "org.graalvm.compiler.hotspot.SymbolicSnippetEncoder", onlyWith = LibGraalFeature.IsEnabled.class)
784+
@Delete("shouldn't appear in libgraal")
785+
final class Target_org_graalvm_compiler_hotspot_SymbolicSnippetEncoder {
786+
}

0 commit comments

Comments
 (0)