Closed Bug 576398 Opened 14 years ago Closed 14 years ago

A* benchmark broken with moo branch

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Assigned: dvander)

Details

Both http://jsastar.tapirpirates.net/original_tracemonkeybench/JSAStarBenchmark.html and http://jsastar.tapirpirates.net/dfdemo/JSAStarBenchmark.html fail to actually produce correct output in an optimized moo-branch browser. I tried running a debug moo branch browser too, but it more or less hangs under js::BytecodeAnalyzer::analyze (doing lots of work for tens of seconds; I killed it).
BytecodeAnalyzer compares its results with those of the decompiler analysis after every JSOp. Disabling that check would most likely avoid the hang.
Reproduced. Getting a shell test case.
Assignee: general → dvander
Status: NEW → ASSIGNED
Still reducing, but I see what's going wrong. There are two local variables being tracked and both have the same register pair.
http://hg.mozilla.org/users/danderson_mozilla.com/moo/rev/712b3f2d358b Ended up being a simple bug in new() when the scripted ctor could not be compiled.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.