NEW 60851
[JSC] Create unit tests for the Macro Assembler (and maybe trampoline of the JIT)
https://bugs.webkit.org/show_bug.cgi?id=60851
Summary [JSC] Create unit tests for the Macro Assembler (and maybe trampoline of the ...
Holger Freyther
Reported 2011-05-15 00:52:36 PDT
Finding regressions might be easier if there are tests for the Macro Assembler. I am currently experiencing a crash in the MIPS JIT for the most basic JavaScript (3+3) indicating something very basic must be broken. Having very simple tests for the MacroAssembler might help developers to indentify such issues easier. When looking at JSC in the Mozilla copy I found a very basic test[1] and GNU lightning has tests that could be used as inspiration as well[2]. WebKit didn't pick a UnitTest framework yet, but do you think the idea of tests for MacroAssembler is a good idea? [1] http://hg.mozilla.org/tracemonkey/file/5b479a987cda/js/src/assembler/TestMain.cpp [2] http://git.savannah.gnu.org/cgit/lightning.git/tree/tests
Attachments
Note You need to log in before you can comment on or make changes to this bug.