Skip to content

Commit 3e4e27f

Browse files
committed
Improve specialization names
1 parent 6f20643 commit 3e4e27f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/truffleruby/cext/IDToSymbolNode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static IDToSymbolNode create() {
3838
}
3939

4040
@Specialization(guards = "isStaticSymbol(value)")
41-
protected Object unwrapStaticUncached(long value,
41+
protected Object unwrapStaticSymbol(long value,
4242
@CachedLanguage RubyLanguage language,
4343
@CachedContext(RubyLanguage.class) RubyContext context,
4444
@Cached BranchProfile errorProfile) {
@@ -56,7 +56,7 @@ protected Object unwrapStaticUncached(long value,
5656
}
5757

5858
@Specialization(guards = "!isStaticSymbol(value)")
59-
protected Object unwrapObject(Object value,
59+
protected Object unwrapDynamicSymbol(Object value,
6060
@Cached UnwrapNode unwrapNode) {
6161
return unwrapNode.execute(value);
6262
}

0 commit comments

Comments
 (0)