Avoid allocations in executeCommand().

This commit is contained in:
Nicholas Nethercote 2014-03-12 20:49:46 -07:00
parent 3759c11f42
commit 6c698519cd

View File

@ -4779,7 +4779,7 @@ var Type1CharString = (function Type1CharStringClosure() {
if (keepStack) {
this.stack.splice(start, howManyArgs);
} else {
this.stack = [];
this.stack.length = 0;
}
return false;
}