diff options
Diffstat (limited to 'src/scalap')
-rw-r--r-- | src/scalap/scala/tools/scalap/Main.scala | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/scalap/scala/tools/scalap/Main.scala b/src/scalap/scala/tools/scalap/Main.scala index 0e0970db1f..34684fc3e1 100644 --- a/src/scalap/scala/tools/scalap/Main.scala +++ b/src/scalap/scala/tools/scalap/Main.scala @@ -145,6 +145,7 @@ object Main extends Main { val version = "-version" val classPathImplType = "-YclasspathImpl" + val disableFlatClassPathCaching = "-YdisableFlatCpCaching" val logClassPath = "-Ylog-classpath" } @@ -182,6 +183,7 @@ object Main extends Main { val settings = new Settings() arguments getArgument opts.classPathImplType foreach settings.YclasspathImpl.tryToSetFromPropertyValue + settings.YdisableFlatCpCaching.value = arguments contains opts.disableFlatClassPathCaching settings.Ylogcp.value = arguments contains opts.logClassPath val path = createClassPath(cpArg, settings) @@ -202,8 +204,9 @@ object Main extends Main { .withOption(opts.help) .withOptionalArg(opts.classpath) .withOptionalArg(opts.cp) - // TODO two temporary, hidden options to be able to test different classpath representations + // TODO three temporary, hidden options to be able to test different classpath representations .withOptionalArg(opts.classPathImplType) + .withOption(opts.disableFlatClassPathCaching) .withOption(opts.logClassPath) .parse(args) |