Skip to content

Commit

Permalink
Fix latent typo in Float#== inlining. Fixes rubinius#185.
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Phoenix committed Feb 8, 2010
1 parent 5892f94 commit 7fe1be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/llvm/inline_primitive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ namespace rubinius {

} else if(prim == Primitives::float_equal && count_ == 1) {
inlined_prim = "float_equal";
float_compare(cLessThan, klass, ops_, *this);
float_compare(cEqual, klass, ops_, *this);
} else if(prim == Primitives::float_lt && count_ == 1) {
inlined_prim = "float_lt";
float_compare(cLessThan, klass, ops_, *this);
Expand Down

0 comments on commit 7fe1be7

Please sign in to comment.