diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-04 07:37:45 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-04 07:37:45 +0100 |
commit | 6b279cd10ea82813decc4451fd3842b49ee9deea (patch) | |
tree | a88746796944a0d17294995bf54481f3ed6ad426 /src/libexpr/eval-inline.hh | |
parent | cd326a2aa4a5ad9118a56d2eff459c73b2ec9226 (diff) |
Merge pull request #9658 from pennae/env-diet
reduce the size of Env by one pointer
(cherry picked from commit 83f5622545a2fc31eb7e7d5105f64ed6dd3058b3)
Change-Id: I5636290526d0165cfc61aee1e7a5b94db4a26cef
Diffstat (limited to 'src/libexpr/eval-inline.hh')
-rw-r--r-- | src/libexpr/eval-inline.hh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libexpr/eval-inline.hh b/src/libexpr/eval-inline.hh index 52aa75b5f..f7710f819 100644 --- a/src/libexpr/eval-inline.hh +++ b/src/libexpr/eval-inline.hh @@ -73,8 +73,6 @@ Env & EvalState::allocEnv(size_t size) #endif env = (Env *) allocBytes(sizeof(Env) + size * sizeof(Value *)); - env->type = Env::Plain; - /* We assume that env->values has been cleared by the allocator; maybeThunk() and lookupVar fromWith expect this. */ return *env; |