Closed Bug 621377 Opened 13 years ago Closed 13 years ago

JM: Different output (interpreter vs JM) with given testcase

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 615065
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: gkw, Unassigned)

References

Details

(Keywords: regression, testcase)

try {
    function x() {}
    (function() {
        for (a = 0; a < 9; ++a) {
            if (a == 1) {
                function x()
                function() {}
            } else {
                print(x)
            }
        }
    })()
} catch(e) {}

without -m: (-j has the same output)
function x() {
}
function x() function () {};
function x() function () {};
function x() function () {};
function x() function () {};
function x() function () {};
function x() function () {};
function x() function () {};

with -m:
function x() {
}
function x() function () {};
function x() {
}
function x() {
}
function x() {
}
function x() {
}
function x() {
}
function x() {
}

Seems definitely related to methodjit.
blocking2.0: --- → ?
Related to bug 618007?
Blocks: Jaeger
blocking2.0: ? → betaN+
Fixed by rev f3dae72f2b8e.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.