Skip to content

Float/Fixnum ops in JIT #2153

Closed
hosiawak opened this Issue Feb 12, 2013 · 0 comments

2 participants

@hosiawak
Rubinius member

Repro:

git clone https://gist.github.com/6267a2e95178a46da23b.git
./bin/rbx -S gem install rmagick
./bin/rbx script.rb
convert demo.bmp demo.jpg

You'll notice the image rendered with -Xint is complete whereas the one with JIT isn't
What you see in the output is the color (gray mostly with JIT on).

@dbussink dbussink added a commit that closed this issue Feb 12, 2013
@dbussink dbussink Fix check_if_positive_fixnums
This check passed wrongly when neither of the arguments was a fixnum.
This changes the check to make sure that or'ing and and'ing the tags
both result in a tag equal to the fixnum tag.

Fixes #2153
cd073d1
@dbussink dbussink closed this in cd073d1 Feb 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.