Skip to content

Commit

Permalink
Remove an unsused parameter.
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=128117867
  • Loading branch information
tadeegan authored and blickly committed Jul 22, 2016
1 parent dff762e commit 16c96ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/com/google/javascript/jscomp/DefaultPassConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -2013,7 +2013,7 @@ protected CompilerPass create(AbstractCompiler compiler) {
@Override
protected CompilerPass create(AbstractCompiler compiler) {
return new PureFunctionIdentifier.Driver(
compiler, options.debugFunctionSideEffectsPath, false);
compiler, options.debugFunctionSideEffectsPath);
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/com/google/javascript/jscomp/PureFunctionIdentifier.java
Original file line number Diff line number Diff line change
Expand Up @@ -1214,8 +1214,7 @@ static class Driver implements CompilerPass {
private final AbstractCompiler compiler;
private final String reportPath;

Driver(AbstractCompiler compiler, String reportPath,
boolean useNameReferenceGraph) {
Driver(AbstractCompiler compiler, String reportPath) {
this.compiler = compiler;
this.reportPath = reportPath;
}
Expand Down
2 changes: 1 addition & 1 deletion test/com/google/javascript/jscomp/CompilerTestCase.java
Original file line number Diff line number Diff line change
Expand Up @@ -1281,7 +1281,7 @@ private void test(

if (computeSideEffects && i == 0) {
PureFunctionIdentifier.Driver mark =
new PureFunctionIdentifier.Driver(compiler, null, false);
new PureFunctionIdentifier.Driver(compiler, null);
mark.process(externsRoot, mainRoot);
}

Expand Down

0 comments on commit 16c96ae

Please sign in to comment.