Skip to content

Commit

Permalink
Remove public read() function.
Browse files Browse the repository at this point in the history
It isn't used outside the compiler.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=154685910
  • Loading branch information
brad4d committed May 1, 2017
1 parent b5a1cf3 commit ba464bc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/com/google/javascript/jscomp/Compiler.java
Expand Up @@ -878,7 +878,7 @@ <T> T runInCompilerThread(Callable<T> callable) {
private void compileInternal() {
setProgress(0.0, null);
CompilerOptionsPreprocessor.preprocess(options);
read();
readInputs();
// Guesstimate.
setProgress(0.02, "read");
parse();
Expand Down Expand Up @@ -934,10 +934,6 @@ private void instrumentForCoverage(boolean instrumentBranchCoverage) {
stopTracer(tracer, "instrumentationPass");
}

public void read() {
readInputs();
}

public void parse() {
parseInputs();
}
Expand Down

0 comments on commit ba464bc

Please sign in to comment.