blob: b6949799c1f633eed049c56cc23372013126191c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// |jit-test| error: cache does not have the same size; skip-if: isLcovEnabled()
load(libdir + 'bytecode-cache.js');
var test = (function () {
function f(x) {
function ifTrue() {};
function ifFalse() {};
if (generation % 2 == 0)
return ifTrue();
return ifFalse();
}
return f.toString() + "; f()";
})();
evalWithCache(test, { assertEqBytecode: true, assertEqResult : true });
|