--- a/nashorn/src/jdk/nashorn/internal/runtime/resources/Options.properties Tue Feb 25 18:56:10 2014 +0530
+++ b/nashorn/src/jdk/nashorn/internal/runtime/resources/Options.properties Wed Feb 26 13:17:57 2014 +0100
@@ -187,12 +187,6 @@
desc="Generate local variable table in .class files." \
}
-nashorn.option.lazy.compilation = { \
- name="--lazy-compilation", \
- is_undocumented=true, \
- desc="EXPERIMENTAL: Use lazy code generation strategies - do not compile the entire script at once." \
-}
-
nashorn.option.loader.per.compile = { \
name="--loader-per-compile", \
is_undocumented=true, \
@@ -251,8 +245,11 @@
nashorn.option.print.code = { \
name="--print-code", \
+ short_name="-pc", \
is_undocumented=true, \
- desc="Print bytecode." \
+ params="[dir:<output-dir>,function:<name>]", \
+ type=keyvalues, \
+ desc="Print generated bytecode. If a directory is specified, nothing will be dumped to stderr. Also, in that case, .dot files will be generated for all functions or for the function with the specified name only." \
}
nashorn.option.print.mem.usage = { \
@@ -269,12 +266,14 @@
nashorn.option.print.parse = { \
name="--print-parse", \
+ short_name="-pp", \
is_undocumented=true, \
desc="Print the parse tree." \
}
nashorn.option.print.lower.parse = { \
name="--print-lower-parse", \
+ short_name="-plp", \
is_undocumented=true, \
desc="Print the parse tree after lowering." \
}