diff options
author | Shea Levy <shea@shealevy.com> | 2013-07-16 08:43:54 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-07-31 11:48:39 +0200 |
commit | e068f49f7dc59788cf356acfc77db614db6b28f0 (patch) | |
tree | 7fb62ddc57a9c21027c168f209d07243e2d191df /src/libexpr/eval.hh | |
parent | 20866a7031ca823055a221653b77986faa167329 (diff) | |
download | guix-e068f49f7dc59788cf356acfc77db614db6b28f0.tar.gz |
Avoid thunks when a fromWith var can be looked up without evaluation
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 0e4ad3db23..c820b28f49 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -206,7 +206,7 @@ private: void addPrimOp(const string & name, unsigned int arity, PrimOpFun primOp); - inline Value * lookupVar(Env * env, const VarRef & var); + inline Value * lookupVar(Env * env, const VarRef & var, bool noEval = false); friend class ExprVar; friend class ExprAttrs; |