1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-29 07:37:57 +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

@ -1,28 +1,28 @@
function f1() {
/* head */
"1";
/* mid */
"2";
/* head */
"1";
/* mid */
"2";
}
/* tail */
function f2() {
// head
"1";
// mid
"2";
// head
"1";
// mid
"2";
}
// tail
function f2() {
if ("1") {
// begin block
"1";
if ("1") {
// begin block
"1";
}
"2";
// trailing
if (/* s */
"3")
/*e*/
{
"4";
}
"2";
// trailing
if (/* s */
"3")
/*e*/
{
"4";
}
}