1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

Value: extract Value::ClosureThunk

This commit is contained in:
Robert Hensing 2023-11-12 03:06:04 +01:00
parent d8ff5cfe8e
commit b55203e874

View file

@ -190,6 +190,11 @@ public:
const char * path;
};
struct ClosureThunk {
Env * env;
Expr * expr;
};
union
{
NixInt integer;
@ -205,10 +210,7 @@ public:
Value * * elems;
} bigList;
Value * smallList[2];
struct {
Env * env;
Expr * expr;
} thunk;
ClosureThunk thunk;
struct {
Value * left, * right;
} app;