[Webkit-unassigned] [Bug 60851] New: [JSC] Create unit tests for the Macro Assembler (and maybe trampoline of the JIT)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 15 00:52:36 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=60851

           Summary: [JSC] Create unit tests for the Macro Assembler (and
                    maybe trampoline of the JIT)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zecke at selfish.org
                CC: oliver at apple.com


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

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list