@@ -1540,56 +1540,58 @@ public abstract static class ExtractRubyTag extends CoreMethodArrayArgumentsNode
1540
1540
@ Specialization
1541
1541
protected int extractRubyTag (CapturedException captured ,
1542
1542
@ Cached ExtractRubyTagHelperNode helperNode ) {
1543
- return helperNode .execute (captured .getException ());
1543
+ return helperNode .execute (this , captured .getException ());
1544
1544
}
1545
1545
}
1546
1546
1547
+ @ GenerateInline
1548
+ @ GenerateCached (false )
1547
1549
public abstract static class ExtractRubyTagHelperNode extends RubyBaseNode {
1548
1550
1549
- public abstract int execute (Throwable e );
1551
+ public abstract int execute (Node node , Throwable e );
1550
1552
1551
1553
@ Specialization
1552
- protected int dynamicReturnTag (DynamicReturnException e ) {
1554
+ protected static int dynamicReturnTag (DynamicReturnException e ) {
1553
1555
return RUBY_TAG_RETURN ;
1554
1556
}
1555
1557
1556
1558
@ Specialization
1557
- protected int localReturnTag (LocalReturnException e ) {
1559
+ protected static int localReturnTag (LocalReturnException e ) {
1558
1560
return RUBY_TAG_RETURN ;
1559
1561
}
1560
1562
1561
1563
@ Specialization
1562
- protected int breakTag (BreakException e ) {
1564
+ protected static int breakTag (BreakException e ) {
1563
1565
return RUBY_TAG_BREAK ;
1564
1566
}
1565
1567
1566
1568
@ Specialization
1567
- protected int nextTag (NextException e ) {
1569
+ protected static int nextTag (NextException e ) {
1568
1570
return RUBY_TAG_NEXT ;
1569
1571
}
1570
1572
1571
1573
@ Specialization
1572
- protected int retryTag (RetryException e ) {
1574
+ protected static int retryTag (RetryException e ) {
1573
1575
return RUBY_TAG_RETRY ;
1574
1576
}
1575
1577
1576
1578
@ Specialization
1577
- protected int redoTag (RedoException e ) {
1579
+ protected static int redoTag (RedoException e ) {
1578
1580
return RUBY_TAG_REDO ;
1579
1581
}
1580
1582
1581
1583
@ Specialization
1582
- protected int raiseTag (RaiseException e ) {
1584
+ protected static int raiseTag (RaiseException e ) {
1583
1585
return RUBY_TAG_RAISE ;
1584
1586
}
1585
1587
1586
1588
@ Specialization
1587
- protected int throwTag (ThrowException e ) {
1589
+ protected static int throwTag (ThrowException e ) {
1588
1590
return RUBY_TAG_THROW ;
1589
1591
}
1590
1592
1591
1593
@ Fallback
1592
- protected int noTag (Throwable e ) {
1594
+ protected static int noTag (Throwable e ) {
1593
1595
return 0 ;
1594
1596
}
1595
1597
}
0 commit comments