diff graal/GraalCompiler/src/com/sun/c1x/graph/BlockMap.java @ 2732:beea26b73b3f

Removed unused options and code.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Thu, 19 May 2011 17:31:01 +0200
parents bcbda467e1ae
children 2ef23785ca93
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/graph/BlockMap.java	Thu May 19 17:20:55 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/graph/BlockMap.java	Thu May 19 17:31:01 2011 +0200
@@ -165,10 +165,6 @@
         iterateOverBytecodes();
         addExceptionEdges();
         computeBlockOrder();
-
-        // Discard big arrays so that they can be GCed
-        blockMap = null;
-        canTrap = null;
     }
 
     private void makeExceptionEntries() {
@@ -301,7 +297,7 @@
                 }
 
                 case WIDE: {
-                    if (canTrap != null && ProfileInformationStub.trappedFrequently(method, bci)) {
+                    if (canTrap != null) {
                         canTrap.set(bci);
                     }
 
@@ -310,7 +306,7 @@
                 }
 
                 default: {
-                    if (canTrap != null && ProfileInformationStub.trappedFrequently(method, bci)) {
+                    if (canTrap != null) {
                         canTrap.set(bci);
                     }