mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Remove maxPrimOpArity
This commit is contained in:
parent
05560f6350
commit
40925337a9
2 changed files with 0 additions and 4 deletions
|
@ -600,8 +600,6 @@ void EvalState::addConstant(const string & name, Value * v)
|
|||
Value * EvalState::addPrimOp(const string & name,
|
||||
size_t arity, PrimOpFun primOp)
|
||||
{
|
||||
assert(arity <= maxPrimOpArity);
|
||||
|
||||
auto name2 = string(name, 0, 2) == "__" ? string(name, 2) : name;
|
||||
Symbol sym = symbols.create(name2);
|
||||
|
||||
|
|
|
@ -279,8 +279,6 @@ private:
|
|||
|
||||
void addConstant(const string & name, Value * v);
|
||||
|
||||
constexpr static size_t maxPrimOpArity = 3;
|
||||
|
||||
Value * addPrimOp(const string & name,
|
||||
size_t arity, PrimOpFun primOp);
|
||||
|
||||
|
|
Loading…
Reference in a new issue