Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -42,9 +42,8 @@ public FixnumOrBignumNode(RubyContext context, SourceSection sourceSection) {
private final ConditionProfile integerFromDoubleProfile = ConditionProfile.createBinaryProfile();
private final ConditionProfile longFromDoubleProfile = ConditionProfile.createBinaryProfile();

@TruffleBoundary
public Object fixnumOrBignum(BigDecimal value) {
CompilerDirectives.transferToInterpreter();

return fixnumOrBignum(value.toBigInteger());
}

0 comments on commit 9563a0b

Please sign in to comment.