Commit 6c807c6 1 parent 716c5ec commit 6c807c6 Copy full SHA for 6c807c6
File tree 2 files changed +3
-0
lines changed
src/com/google/javascript/jscomp
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -695,6 +695,8 @@ protected PassListBuilder getFinalizations() {
695
695
// This pass works best after collapseVariableDeclarations.
696
696
passes .maybeAdd (denormalize );
697
697
698
+ passes .maybeAdd (createEmptyPass (PassNames .BEFORE_VARIABLE_RENAMING ));
699
+
698
700
if (options .variableRenaming != VariableRenamingPolicy .ALL ) {
699
701
// If we're leaving some (or all) variables with their old names,
700
702
// then we need to undo any of the markers we added for distinguishing
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ public final class PassNames {
35
35
public static final String BEFORE_MAIN_OPTIMIZATIONS = "beforeMainOptimizations" ;
36
36
public static final String BEFORE_TYPE_CHECKING = "beforeTypeChecking" ;
37
37
public static final String BEFORE_SERIALIZATION = "beforeSerialization" ;
38
+ public static final String BEFORE_VARIABLE_RENAMING = "beforeVariableRenaming" ;
38
39
public static final String CHECK_CONFORMANCE = "checkConformance" ;
39
40
public static final String CHECK_REG_EXP = "checkRegExp" ;
40
41
public static final String CHECK_TYPES = "checkTypes" ;
You can’t perform that action at this time.
0 commit comments