Skip to content

Commit ef9fc41

Browse files
committed
Cleanup dead code in CExtNodes
1 parent a19be74 commit ef9fc41

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,6 @@ public abstract static class AddToMarkList extends CoreMethodArrayArgumentsNode
14261426

14271427
@Specialization
14281428
protected DynamicObject addToMarkList(Object markedObject,
1429-
@Cached BranchProfile exceptionProfile,
14301429
@Cached BranchProfile noExceptionProfile,
14311430
@Cached UnwrapNode.ToWrapperNode toWrapperNode) {
14321431
ValueWrapper wrappedValue = toWrapperNode.execute(markedObject);
@@ -1440,16 +1439,13 @@ protected DynamicObject addToMarkList(Object markedObject,
14401439
return nil();
14411440
}
14421441

1443-
protected UnwrapNode createUnwrapNode() {
1444-
return UnwrapNodeGen.create();
1445-
}
14461442
}
14471443

14481444
@CoreMethod(names = "rb_tr_gc_guard", onSingleton = true, required = 1)
14491445
public abstract static class GCGuardNode extends CoreMethodArrayArgumentsNode {
14501446

14511447
@Specialization
1452-
protected DynamicObject addToMarkList(VirtualFrame frame, Object guardedObject,
1448+
protected DynamicObject addToMarkList(Object guardedObject,
14531449
@Cached MarkingServiceNodes.KeepAliveNode keepAliveNode,
14541450
@Cached BranchProfile noExceptionProfile,
14551451
@Cached UnwrapNode.ToWrapperNode toWrapperNode) {
@@ -1461,9 +1457,6 @@ protected DynamicObject addToMarkList(VirtualFrame frame, Object guardedObject,
14611457
return nil();
14621458
}
14631459

1464-
protected UnwrapNode createUnwrapNode() {
1465-
return UnwrapNodeGen.create();
1466-
}
14671460
}
14681461

14691462
@CoreMethod(names = "set_mark_list_on_object", onSingleton = true, required = 1)

0 commit comments

Comments
 (0)