summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1263532.js
blob: e9d222d3c9aad5b6f08dd5ed99a17a366b6512f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
setJitCompilerOption("ion.warmup.trigger", 1);
function f(g) {
    for (var i = 0; i < 99; i++) {
        "abc".match("b.");
        g();
    }
}
f(function() {});
f(function() {
    Object.defineProperty(RegExp.prototype, "sticky", {
        get: function() {}
    });
});