blob: e5b3b76beb2b609906a6e556f8f22687b4603d74 [file] [log] [blame]
Boolean.prototype.negate = function ()
{
"use strict";
return !this;
};
noInline(Boolean.prototype.negate);
for (var i = 0; i < 1e4; ++i)
(i % 4 === 0).negate();
Boolean.prototype.negate.call(true);
for (var i = 0; i < 1e4; ++i)
Boolean.prototype.negate.call(i);
Boolean.prototype.negate2 = function ()
{
"use strict";
return !this;
};
for (var i = 0; i < 1e4; ++i)
(true).negate2();