mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 07:10:40 +01:00
[poincare] Register Static Allocation Failure if required
This commit is contained in:
@@ -355,6 +355,7 @@ NaturalIntegerPointer::NaturalIntegerPointer(native_uint_t * buffer, size_t size
|
||||
|
||||
IntegerNode * IntegerNode::FailedAllocationStaticNode() {
|
||||
static AllocationFailureIntegerNode failure;
|
||||
TreePool::sharedPool()->registerStaticNodeIfRequired(&failure);
|
||||
return &failure;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user