blob: 852244ae05bf58b7e3a9790f84a7a60bf0fcc0de [file] [log] [blame]
function assert(b) {
if (!b)
throw new Error;
}
function test1() {
function getMultiline(o) {
return o.multiline;
}
noInline(getMultiline);
const o = {};
o.__proto__ = RegExp;
RegExp.multiline = false;
for (let i = 0; i < 5000000; ++i) {
assert(getMultiline(o) === false);
}
}
test1();