Skip to content

Commit 2d44961

Browse files
committed
Remove a not used Primitive.compiled? method
1 parent 3b87018 commit 2d44961

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/main/java/org/truffleruby/extra/TruffleGraalNodes.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,6 @@ RubyProc copyCapturedLocals(RubyProc proc) {
144144

145145
}
146146

147-
@Primitive(name = "compiled?")
148-
public abstract static class IsCompiledNode extends PrimitiveNode {
149-
@Specialization
150-
boolean isCompiled() {
151-
return CompilerDirectives.inCompiledCode();
152-
}
153-
}
154-
155147
@Primitive(name = "assert_compilation_constant")
156148
public abstract static class AssertCompilationConstantNode extends PrimitiveArrayArgumentsNode {
157149

0 commit comments

Comments
 (0)