blob: cb28fa3e015bed914b84758574e44ac668a4e462 [file] [log] [blame]
//@ runDefault("--useJIT=0")
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
function llintCode1() {
return $vm.llintTrue();
}
function llintCode2() {
return $vm.baselineJITTrue();
}
shouldBe(llintCode1(), true);
shouldBe(llintCode2(), false);