diff graal/GraalCompiler/src/com/sun/c1x/C1XCompilation.java @ 2718:c1ce2a53d6c3

Attempt to remove dependency between backend and BlockBegin.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Thu, 19 May 2011 16:05:42 +0200
parents 4272b7af2d17
children ae1c50a03297
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/C1XCompilation.java	Thu May 19 14:31:03 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/C1XCompilation.java	Thu May 19 16:05:42 2011 +0200
@@ -247,7 +247,7 @@
 
             lirGenerator = compiler.backend.newLIRGenerator(this);
 
-            for (BlockBegin begin : hir.linearScanOrder()) {
+            for (LIRBlock begin : hir.linearScanOrder()) {
                 lirGenerator.doBlock(begin);
             }
 
@@ -284,7 +284,8 @@
             }
 
             if (compiler.isObserved()) {
-                compiler.fireCompilationEvent(new CompilationEvent(this, "After code generation", hir.startBlock, false, true, targetMethod));
+                // TODO(tw): FIXME
+                // compiler.fireCompilationEvent(new CompilationEvent(this, "After code generation", hir.startBlock, false, true, targetMethod));
             }
 
             if (C1XOptions.PrintTimers) {