about summary refs log tree commit diff
path: root/src/nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2016-08-29T11·36-0400
committerShea Levy <shea@shealevy.com>2016-08-29T11·36-0400
commit9fa21765e7f267efcc65e1aa6ab21402ea6125ad (patch)
tree7eb9a66c8b5c62fb597c18bc383bd3ec256c3360 /src/nix
parent0e3574d7f8136303cd8b3a1369d1bf685727bc9f (diff)
callFunction: Copy functors to the heap
Normally it's impossible to take a reference to the function passed to
callFunction, so some callers (e.g. ExprApp::eval) allocate that value
on the stack. For functors, a reference to the functor itself may be
kept, so we need to have it on the heap.

Fixes #1045
Diffstat (limited to 'src/nix')
0 files changed, 0 insertions, 0 deletions