Skip to content

Commit

Permalink
add a useful @nospecialize hint
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Jun 18, 2018
1 parent a862103 commit 22b32d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/boot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ end

import .Intrinsics: eq_int, trunc_int, lshr_int, sub_int, shl_int, bitcast, sext_int, zext_int, and_int

throw_inexacterror(f::Symbol, T::Type, val) = (@_noinline_meta; throw(InexactError(f, T, val)))
throw_inexacterror(f::Symbol, T::Type, @nospecialize(val)) = (@_noinline_meta; throw(InexactError(f, T, val)))

function is_top_bit_set(x)
@_inline_meta
Expand Down

0 comments on commit 22b32d5

Please sign in to comment.