dannybpoulsen / minimc

7 stars 2 forks source link

Global Process Registers #19

Closed dannybpoulsen closed 1 year ago

dannybpoulsen commented 1 year ago

Currently each function of a program has it's own registers. This is heavily inspired by LLVM programs, but it not representative for more traditional CPU designs.

We should incorporate a feature that gives "global" registers for all function calls, but which aren't shared across processes.