changeset 5603:dbd82d1edce6

re-enabled disassembler in CFGPrinterObserver for CodeInstall scope
author Doug Simon <doug.simon@oracle.com>
date Thu, 14 Jun 2012 16:20:59 +0200
parents e79b593e0632
children 46f8a4c46b6a
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java	Thu Jun 14 14:03:28 2012 +0200
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java	Thu Jun 14 16:20:59 2012 +0200
@@ -154,7 +154,7 @@
                 final CodeInfo[] info = Debug.isDumpEnabled() ? new CodeInfo[1] : null;
                 compiler.getRuntime().installMethod(method, tm, info);
                 if (info != null) {
-                    Debug.dump(info[0], "After code installation");
+                    Debug.dump(new Object[] {tm, info[0]}, "After code installation");
                 }
             }