File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/main/java/org/truffleruby/cext Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1188,11 +1188,9 @@ protected Object executeWithProtect(RubyProc block,
1188
1188
@ CoreMethod (names = "extract_ruby_exception" , onSingleton = true , required = 1 )
1189
1189
public abstract static class ExtractRubyException extends CoreMethodArrayArgumentsNode {
1190
1190
1191
- /** Profiled version of {@link ExceptionOperations#rethrow(Throwable)} */
1192
1191
@ Specialization
1193
1192
protected Object executeThrow (CapturedException captured ,
1194
- @ Cached ConditionProfile rubyExceptionProfile ,
1195
- @ Cached ConditionProfile errorProfile ) {
1193
+ @ Cached ConditionProfile rubyExceptionProfile ) {
1196
1194
final Throwable e = captured .getException ();
1197
1195
if (rubyExceptionProfile .profile (e instanceof RaiseException )) {
1198
1196
return ((RaiseException ) e ).getException ();
You can’t perform that action at this time.
0 commit comments