about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-07-23 19:57:30 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-07-24 07:26:22 -0700
commit3550068b531703bc492b0f97331c6a2bcafecf37 (patch)
tree4f804314e83b3ed0f59dc56bd3e8405de3b353b2 /src/rustllvm/ExecutionEngineWrapper.cpp
parent31ac8a90f1fbe66c3ad34ef0e5f48bc5f7026059 (diff)
downloadrust-3550068b531703bc492b0f97331c6a2bcafecf37.tar.gz
rust-3550068b531703bc492b0f97331c6a2bcafecf37.zip
librustc: Make bare functions implement the `FnMut` trait.
This is done entirely in the libraries for functions up to 16 arguments.
A macro is used so that more arguments can be easily added if we need.
Note that I had to adjust the overloaded call algorithm to not try
calling the overloaded call operator if the callee is a built-in
function type, to prevent loops.

Closes #15448.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions