The code seems completely generic except for the name of the push and jmp operations. From the code I have seen for the new compiler, it seems to often be the case: generic control flow interleaved with fairly basic assembler operations (push, pop, jump, move constants or registers to registers).
Would it make sense to make macro-assembler macros for basic operations, and make parts of the compiler almost completely generic? http://codereview.chromium.org/343057 --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
