1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Fixes preprocessor testing and adds deadcode removal.

This commit is contained in:
Yury Delendik 2017-01-09 13:15:09 -06:00
parent f828f07ccd
commit 6265bb6038
7 changed files with 100 additions and 46 deletions

View file

@ -0,0 +1,25 @@
function f1() {
return;
var i = 0;
}
function f2() {
return 1;
var i = 0;
}
function f3() {
var i = 0;
throw "test";
var j = 0;
}
function f4() {
var i = 0;
if (true) {
return;
}
throw "test";
var j = 0;
}