-
Benoit Perrot authored
from Benoît Perrot <benoit@lrde.epita.fr> * src/inst/register.hh: Add a copy constructor. * dev/inst-nodes-gen.py: Copy inst::Registers instead of keeping a pointer on them, avoiding hazardous memory manipulations. * dev/inst-builder-gen.py, src/inst/program_builder.cc, * src/vm/cpu.cc (bubble_): Prefer copy to reallocation of inst::Registers. * dev/parse-asm-parse-gen.py: Once they are copied, delete the inst::Registers created by the scanner.
b06225a4
To find the state of this project's repository at the time of any of these versions, check out the tags.