Skip to content

Commit

Permalink
fix #1414
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Oct 20, 2012
1 parent 08cfa4c commit c58c2ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/intrinsics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ static Value *emit_unboxed(jl_value_t *e, jl_codectx_t *ctx)
else if (jl_is_float64(e)) {
return ConstantFP::get(T_float64, jl_unbox_float64(e));
}
else if (jl_is_float32(e)) {
return ConstantFP::get(T_float32, jl_unbox_float32(e));
}
else if (e == jl_true) {
return ConstantInt::get(T_int1, 1);
}
Expand Down

0 comments on commit c58c2ba

Please sign in to comment.