mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 01:26:15 +02:00
Value: extract Value::FunctionApplicationThunk
This commit is contained in:
parent
b55203e874
commit
6af1d9f7b9
1 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue