File tree 1 file changed +2
-1
lines changed
src/main/java/org/truffleruby/core/klass
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 12
12
import java .util .Arrays ;
13
13
import java .util .Set ;
14
14
15
+ import com .oracle .truffle .api .CompilerDirectives .CompilationFinal ;
15
16
import com .oracle .truffle .api .CompilerDirectives .TruffleBoundary ;
16
17
import com .oracle .truffle .api .interop .InteropLibrary ;
17
18
import com .oracle .truffle .api .library .ExportLibrary ;
@@ -41,7 +42,7 @@ public final class RubyClass extends RubyModule implements ObjectGraphNode {
41
42
public final RubyDynamicObject attached ;
42
43
/* a RubyClass or nil for BasicObject */
43
44
public final Object superclass ;
44
- public final RubyClass [] ancestorClasses ;
45
+ @ CompilationFinal ( dimensions = 1 ) public final RubyClass [] ancestorClasses ;
45
46
public final ConcurrentWeakSet <RubyClass > directNonSingletonSubclasses ;
46
47
/** Depth from BasicObject (= 0) in the inheritance hierarchy. */
47
48
public final int depth ;
You can’t perform that action at this time.
0 commit comments