mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-06-09 19:03:45 -04:00
Function polymorphism where it wasn't needed? especially on tight code loops like translating code and whatnot? You may think the compiler was fine with this but nah, it just made codegen for all those paths; I didn't check LTO but I'd assume it behaves the same (since the "black box" from most walkers suck) - basically bunch of code that isn't longer used Also uniformly declaring all functions (i.e same args, return value) makes the entire switch statment way nicer Signed-off-by: lizzie lizzie@eden-emu.dev Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2972 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev> |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| ir_opt | ||
| CMakeLists.txt | ||
| environment.h | ||
| exception.h | ||
| host_translate_info.h | ||
| object_pool.h | ||
| profile.h | ||
| program_header.h | ||
| runtime_info.h | ||
| shader_info.h | ||
| stage.h | ||
| varying_state.h | ||