blob: 22e13eaa391c675bb21d143183d0de25661099c9 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
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();