summaryrefslogtreecommitdiffstats
path: root/m4/ax_gcc_func_attribute.m4
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-12-05 11:00:05 -0800
committerJason Ekstrand <[email protected]>2015-01-15 07:20:20 -0800
commit8edcd1de143816d4e1268dc7617ec23a067db970 (patch)
treeb37a0748a0212286a4c95901bc0088977929703d /m4/ax_gcc_func_attribute.m4
parent919426631b7bd32f012eb9b6ffd8a9aff74788e1 (diff)
nir: Make the type casting operations static inline functions
Previously, the casting operations were macros. While this is usually fine, the casting macro used the input parameter twice leading to strange behavior when you passed the result of another function into it. Since we know the source and destination types explicitly, we don't loose anything by making it a function. Also, this gives us a nice little macro for creating cast function that will hopefully prevent mistyping. Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'm4/ax_gcc_func_attribute.m4')
0 files changed, 0 insertions, 0 deletions