From 796b9bf71c96ad2a3fd0547532fa38a0b34916f5 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Tue, 5 Aug 2025 11:08:36 -0500 Subject: [PATCH] xo-alloc: mutation log tracking in working state + unit test --- include/xo/expression/Primitive.hpp | 33 ----------------------------- 1 file changed, 33 deletions(-) diff --git a/include/xo/expression/Primitive.hpp b/include/xo/expression/Primitive.hpp index fbcd201c..6c1c12bc 100644 --- a/include/xo/expression/Primitive.hpp +++ b/include/xo/expression/Primitive.hpp @@ -103,39 +103,6 @@ namespace xo { refrtag("name", name_), rtag("type", print::quot(this->valuetype()->short_name())), refrtag("value", (void*)(this->value()))); - -#ifdef OBSOLETE - ppstate * pps = ppii.pps(); - - if (ppii.upto()) { - if (!pps->print_upto("print_upto_tag("name", name_)) - return false; - - if (!pps->print_upto_tag("type", print::quot(this->value_td()->short_name()))) - return false; - - if (!pps->print_upto_tag("value", (void*)(this->value()))) - return false; - - pps->write(">"); - - return true; - } else { - pps->write("newline_pretty_tag(ppii.ci1(), "name", name_); - pps->newline_pretty_tag(ppii.ci1(), "type", print::quot(this->value_td()->short_name())); - /* don't have pretty printer for native function pointers anyway - * + simplifies ppdetail_atomic - */ - pps->newline_pretty_tag(ppii.ci1(), "value", (void*)this->value()); - pps->write(">"); - - return false; - } -#endif } private: