X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fv8%2Ftest%2Fmjsunit%2Fmjsunit.js;h=043027908853d0dfd9169553dae00a19a3efde55;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=bcd4913b3b775b59983b116281e1a267ebc0a011;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/v8/test/mjsunit/mjsunit.js b/src/v8/test/mjsunit/mjsunit.js index bcd4913..0430279 100644 --- a/src/v8/test/mjsunit/mjsunit.js +++ b/src/v8/test/mjsunit/mjsunit.js @@ -391,9 +391,8 @@ var assertUnoptimized; } catch (e) { throw new Error("natives syntax not allowed"); } - } else { - OptimizationStatusImpl(fun, sync_opt); } + return OptimizationStatusImpl(fun, sync_opt); } assertUnoptimized = function assertUnoptimized(fun, sync_opt, name_opt) {