mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 15:50:49 +01:00
Initial import
This commit is contained in:
14
tree_reference.cpp
Normal file
14
tree_reference.cpp
Normal 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
|
||||
Reference in New Issue
Block a user