Initial import

This commit is contained in:
Romain Goyet
2018-06-12 13:56:20 +02:00
commit 3cd1015614
11 changed files with 677 additions and 0 deletions

14
tree_reference.cpp Normal file
View File

@@ -0,0 +1,14 @@
#include "tree_reference.h"
#if 0
void TreeReference::addOperand(TreeReference<TreeNode> t) {
// At this point, e has been copied.
// We can therefore pilfer its node!
Node * n = node();
pool->move(
t->node(),
t->next()
);
node->stealAsOperand(t->node());
}
#endif