summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug792220.js
blob: 7b588f042d832f4ebda0613a21c707351e43c9ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
var p = new Proxy({}, {
  has : function(id) {}
});
RegExp.prototype.__proto__ = p;
function f() {
  if (/a/.exec("a"))
    return 1;
  return 0;
}
delete RegExp.prototype.test;
f();