mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 09:36: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;
|
Expr * expr;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct FunctionApplicationThunk {
|
||||||
|
Value * left, * right;
|
||||||
|
};
|
||||||
|
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
NixInt integer;
|
NixInt integer;
|
||||||
|
@ -211,17 +215,13 @@ public:
|
||||||
} bigList;
|
} bigList;
|
||||||
Value * smallList[2];
|
Value * smallList[2];
|
||||||
ClosureThunk thunk;
|
ClosureThunk thunk;
|
||||||
struct {
|
FunctionApplicationThunk app;
|
||||||
Value * left, * right;
|
|
||||||
} app;
|
|
||||||
struct {
|
struct {
|
||||||
Env * env;
|
Env * env;
|
||||||
ExprLambda * fun;
|
ExprLambda * fun;
|
||||||
} lambda;
|
} lambda;
|
||||||
PrimOp * primOp;
|
PrimOp * primOp;
|
||||||
struct {
|
FunctionApplicationThunk primOpApp;
|
||||||
Value * left, * right;
|
|
||||||
} primOpApp;
|
|
||||||
ExternalValueBase * external;
|
ExternalValueBase * external;
|
||||||
NixFloat fpoint;
|
NixFloat fpoint;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue