mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-12-18 03:21:49 +03:00
a3fe4a0f6b
Pass operand and architecture types and instead of case opcode of ADD -> case operands of Just GPR gpr0 :< Nil of -> SSA-semantics Generate: let opc_ADD operands = case operands of Just GPR gpr0 :< Nil of -> SSA-semantics in case opcode of ADD -> opc_ADD operand This provides better encapsulation for the individual operands and more specific control over the types (at the cost of a pair of additional type specifications in the call). This also seems to reduce memory consumption by about half. |
||
---|---|---|
.. | ||
src/Data/Macaw | ||
tests | ||
ChangeLog.md | ||
LICENSE | ||
macaw-ppc.cabal | ||
Setup.hs |