Another massive overhaul to make calling conventions work. Solved several
commit25b738035343fe4addc23bd7a48de0a54303c1b5
authorDirk Steinke <steinke.dirk.ml@gmail.com>
Sun, 20 Jul 2014 19:38:39 +0000 (20 21:38 +0200)
committerDirk Steinke <steinke.dirk.ml@gmail.com>
Sun, 20 Jul 2014 19:38:39 +0000 (20 21:38 +0200)
tree1f5dceaeafbb8768b69c499b1ad95acafa2382de
parent10f0e83fe4021cfed7217bf5a1f19c692fb0e754
Another massive overhaul to make calling conventions work. Solved several
lifetime problems (esp. concerning MachineInfo and CallingConvention).
Added some renames (MachineInfo -> IMachineInfo, IMachineDumper ->
MachineDumper). There are still linker problems (concerning the
VirtualRegister class), and the calling convention test is not yet
implemented.
34 files changed:
.gitignore
include/jitcs.h
include/jitcs_adt_refcounter.h [new file with mode: 0644]
include/jitcs_bblock.h
include/jitcs_callingconvention.h
include/jitcs_dumper.h
include/jitcs_function.h
include/jitcs_machine.h
include/jitcs_machine_x86_32.h [deleted file]
include/jitcs_machine_x86_64.h [deleted file]
include/jitcs_spillslotinfo.h
include/jitcs_tmpalloc.h
include/jitcs_x86_xx_regs.lh
makefile
src/jitcs_int_bblock_impl.h
src/jitcs_int_callingconvention_impl.h
src/jitcs_int_function_impl.h
src/src/bblock.cpp
src/src/bblock_impl.cpp
src/src/callingconvention.cpp
src/src/callingconvention_impl.cpp
src/src/dumper.cpp
src/src/function.cpp
src/src/function_impl.cpp
src/src/host.cpp [new file with mode: 0644]
src/src/machine.cpp [new file with mode: 0644]
src/src/spillslotinfo.cpp
src/src/tmpalloc.cpp
src/x86/jitcs_int_x86_xx_regs.lh [moved from src/x86/x86_xx_regs.lh with 93% similarity]
src/x86/src/x86_32_machine.cpp [new file with mode: 0644]
src/x86/src/x86_64_machine.cpp [new file with mode: 0644]
src/x86/src/x86_xx_callingconvention.lcpp [new file with mode: 0644]
tests/test_adt_range.cpp [new file with mode: 0644]
tests/test_callingconvention.cpp