Skip to content

Commit 8d5d7e1

Browse files
committed
Revert change to @Fallback in InlinedBlockGivenNode.
1 parent 53e8ac3 commit 8d5d7e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/truffleruby/core/inlined/InlinedBlockGivenNode.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import org.truffleruby.parser.TranslatorEnvironment;
1717

1818
import com.oracle.truffle.api.dsl.Cached;
19-
import com.oracle.truffle.api.dsl.Fallback;
2019
import com.oracle.truffle.api.dsl.Specialization;
2120
import com.oracle.truffle.api.frame.VirtualFrame;
2221

@@ -38,7 +37,7 @@ boolean blockGiven(VirtualFrame frame, Object self,
3837
return readNode.execute(frame) != nil();
3938
}
4039

41-
@Fallback
40+
@Specialization
4241
Object fallback(VirtualFrame frame, Object self) {
4342
return rewriteAndCall(frame, self);
4443
}

0 commit comments

Comments
 (0)