Debian Codegraph @

js/src/jit-test/tests/basic/bug1902907.js

raw
1 // |jit-test| --fast-warmup; --no-threads; skip-if: !('disassemble' in this)
2 Object.defineProperty(RegExp.prototype, "flags", {get: function() {
3 Array.prototype.push.call(this);
4 }});
5 function f() {
6 var s = disassemble();
7 for (var i = 0; i < 30; i++) {
8 s.replace(/0./);
9 }
10 }
11 f();