Skip to content

Commit

Permalink
Move the nodoc flags to the right place to hide the __mul* functions. (
Browse files Browse the repository at this point in the history
  • Loading branch information
wyhaines authored Oct 21, 2021
1 parent 0dc389f commit 79de525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crystal/compiler_rt/mul.cr
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# :nodoc:
private macro __mul_impl(name, type, n)
# Ported from https://github.com/llvm/llvm-project/blob/ce59ccd04023cab3a837da14079ca2dcbfebb70c/compiler-rt/lib/builtins/int_mulo_impl.inc
# :nodoc:
# Ported from https://github.com/llvm/llvm-project/blob/ce59ccd04023cab3a837da14079ca2dcbfebb70c/compiler-rt/lib/builtins/int_mulo_impl.inc
fun {{name}}(a : {{type}}, b : {{type}}, overflow : Int32*) : {{type}}
overflow.value = 0
result = a &* b
Expand Down

0 comments on commit 79de525

Please sign in to comment.