Matthew-McRaven / Pepp

The next generation of Pep series simulators
https://compsys-pep.com
GNU General Public License v3.0
4 stars 0 forks source link

Remove redundant constructions of Opcode Model #480

Closed Matthew-McRaven closed 2 months ago

Matthew-McRaven commented 2 months ago

Only rebuild opcode model on switch to different arch, not switch to a different project.

I need to return the same pointer to a model, because the changes to the model depend on pointer equality (I think).

This implies that I need a static instance of my data model that is shared between projects. There may be some logic to prevent a change to the model if the new model is the old model.