diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/ASTFileLookupFunction.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/skyframe/ASTFileLookupFunction.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/ASTFileLookupFunction.java b/src/main/java/com/google/devtools/build/lib/skyframe/ASTFileLookupFunction.java index df74c5e1a1..bbf7511078 100644 --- a/src/main/java/com/google/devtools/build/lib/skyframe/ASTFileLookupFunction.java +++ b/src/main/java/com/google/devtools/build/lib/skyframe/ASTFileLookupFunction.java @@ -58,9 +58,7 @@ public class ASTFileLookupFunction implements SkyFunction { Label fileLabel = (Label) skyKey.argument(); PathFragment filePathFragment = fileLabel.toPathFragment(); - // // Determine whether the package designated by fileLabel exists. - // SkyKey pkgSkyKey = PackageLookupValue.key(fileLabel.getPackageIdentifier()); PackageLookupValue pkgLookupValue = null; try { @@ -79,9 +77,7 @@ public class ASTFileLookupFunction implements SkyFunction { return ASTFileLookupValue.forBadPackage(fileLabel, pkgLookupValue.getErrorMsg()); } - // // Determine whether the file designated by fileLabel exists. - // Root packageRoot = pkgLookupValue.getRoot(); RootedPath rootedPath = RootedPath.toRootedPath(packageRoot, filePathFragment); SkyKey fileSkyKey = FileValue.key(rootedPath); @@ -105,9 +101,7 @@ public class ASTFileLookupFunction implements SkyFunction { return null; } - // // Both the package and the file exist; load the file and parse it as an AST. - // BuildFileAST ast = null; Path path = rootedPath.asPath(); try { |