Value: extract Value::FunctionApplicationThunk

This commit is contained in:
Robert Hensing 2023-11-12 03:06:55 +01:00
parent b55203e874
commit 6af1d9f7b9

View file

@ -195,6 +195,10 @@ public:
Expr * expr;
};
struct FunctionApplicationThunk {
Value * left, * right;
};
union
{
NixInt integer;
@ -211,17 +215,13 @@ public:
} bigList;
Value * smallList[2];
ClosureThunk thunk;
struct {
Value * left, * right;
} app;
FunctionApplicationThunk app;
struct {
Env * env;
ExprLambda * fun;
} lambda;
PrimOp * primOp;
struct {
Value * left, * right;
} primOpApp;
FunctionApplicationThunk primOpApp;
ExternalValueBase * external;
NixFloat fpoint;
};