blob: 02dbb05f3a0ef10f3f18d8b4e8d618c205a21f13 [file] [log] [blame]
(function () {
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error(`bad value: ${actual}`);
}
noInline(shouldBe);
function target() {
var symbol = Symbol("Cocoa");
shouldBe(typeof symbol, "symbol");
}
noInline(target);
for (var i = 0; i < 10000; ++i)
target();
}());