xo-interpreter adds + explict mm arg to ctors (retiring Object::mm)
This commit is contained in:
parent
1c97e2aa93
commit
b4c89d8624
7 changed files with 99 additions and 47 deletions
|
|
@ -258,8 +258,9 @@ namespace xo {
|
|||
**/
|
||||
class Cpof {
|
||||
public:
|
||||
explicit Cpof(const Object * src) : src_{src} {}
|
||||
explicit Cpof(gc::IAlloc * mm, const Object * src) : mm_{mm}, src_{src} {}
|
||||
|
||||
gc::IAlloc * mm_ = nullptr;
|
||||
const void * src_ = nullptr;
|
||||
};
|
||||
} /*namespace xo*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue