8057551: Let the -d flag dump _all_ generated classes to disk and work outside --compile-only mode

Reviewed-by: attila, jlaskey
diff --git a/nashorn/src/jdk/nashorn/internal/codegen/DumpBytecode.java b/nashorn/src/jdk/nashorn/internal/codegen/DumpBytecode.java
index 1fdbab8..e677382 100644
--- a/nashorn/src/jdk/nashorn/internal/codegen/DumpBytecode.java
+++ b/nashorn/src/jdk/nashorn/internal/codegen/DumpBytecode.java
@@ -89,7 +89,7 @@
 
 
             // should code be dumped to disk - only valid in compile_only mode?
-            if (env._dest_dir != null && env._compile_only) {
+            if (env._dest_dir != null) {
                 final String fileName = className.replace('.', File.separatorChar) + ".class";
                 final int    index    = fileName.lastIndexOf(File.separatorChar);