Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Commit 2be05ee

Browse files
vubvub
vub
authored and
vub
committed
Fix to contracts that have many big pushes
1 parent 9cec73c commit 2be05ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ void substDict(Node program, programAux aux, int labelLength, std::vector<Node>
413413

414414
// Compiled fragtree -> compiled fragtree without labels
415415
std::vector<Node> dereference(Node program) {
416-
int sz = treeSize(program) * 4;
416+
int sz = treeSize(program) * 33;
417417
int labelLength = 1;
418418
while (sz >= 256) { labelLength += 1; sz /= 256; }
419419
programAux aux = Aux();

0 commit comments

Comments
 (0)