-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
For below test case, we keep bailing out and rejitting for same reason.
function test(object) {
var value = object.x;
if (value && value.test) { // bailout happens here
value.test();
}
return value;
}
for (var i = 0; i < 40000; i++) {
var obj = {};
if (i == 0) {
obj.x = {};
} else {
obj.x = 1;
}
test(obj);
}
print('done');$ ch e:\temp\test.js -mic:1 -off:Simplejit -stats:rejit
done
Bailout Reason, Count
BailOutOnTaggedValue, 39999
TOTAL, 39999
Rejit Reason, Count
FailedTagCheck, 100
TOTAL, 100