lix/src/libexpr
Eelco Dolstra 6bb4c0b712 mkList: Scrub better
Clearing v.app.right was not enough, because the length field of a
list only takes 32 bits, so the most significant 32 bits of v.app.left
(a.k.a. v.thunk.env) would remain. This could cause Boehm GC to
interpret it as a valid pointer.

This change reduces maximum RSS for evaluating the ‘tested’ job in
nixos/release-small.nix from 1.33 GiB to 0.80 GiB, and runtime by
about 8%.
2014-10-09 13:08:53 +02:00
..
attr-path.cc Use proper quotes everywhere 2014-08-20 18:03:48 +02:00
attr-path.hh Work on Values instead of Exprs 2013-09-03 13:17:51 +00:00
common-opts.cc Store Attrs inside Bindings 2014-09-19 16:49:41 +02:00
common-opts.hh Store Attrs inside Bindings 2014-09-19 16:49:41 +02:00
eval-inline.hh forceAttrs: Show position info 2014-04-04 19:11:40 +02:00
eval.cc mkList: Scrub better 2014-10-09 13:08:53 +02:00
eval.hh Bindings: Remove copy constructor 2014-09-24 15:29:05 +02:00
get-drvs.cc Store Attrs inside Bindings 2014-09-19 16:49:41 +02:00
get-drvs.hh Drop pointless #include 2014-03-29 22:20:33 +01:00
json-to-value.cc Store Attrs inside Bindings 2014-09-19 16:49:41 +02:00
json-to-value.hh Add builtin function ‘fromJSON’ 2014-07-04 13:34:15 +02:00
lexer.l Use proper quotes everywhere 2014-08-20 18:03:48 +02:00
local.mk Update spec file 2014-09-18 15:42:01 +02:00
names.cc Don't recompile the same regex over and over 2014-10-03 21:29:40 +02:00
names.hh Don't recompile the same regex over and over 2014-10-03 21:29:40 +02:00
nix-expr.pc.in Install some pkgconfig files 2014-09-18 12:00:40 +02:00
nixexpr.cc Use proper quotes everywhere 2014-08-20 18:03:48 +02:00
nixexpr.hh Get rid of some unnecessary ExprConcatStrings nodes in dynamic attrs 2014-10-05 01:04:58 +02:00
parser.y Get rid of some unnecessary ExprConcatStrings nodes in dynamic attrs 2014-10-05 01:04:58 +02:00
primops.cc Add primop ‘catAttrs’ 2014-10-04 18:15:03 +02:00
symbol-table.hh Use std::unordered_set 2014-05-26 17:53:17 +02:00
value-to-json.cc Support control characters in JSON output 2014-09-30 00:41:18 +02:00
value-to-json.hh Support control characters in JSON output 2014-09-30 00:41:18 +02:00
value-to-xml.cc Fix compilation on FreeBSD 2012-03-05 22:04:40 +01:00
value-to-xml.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
value.hh mkList: Scrub better 2014-10-09 13:08:53 +02:00