diff graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVM.java @ 19782:29916dcee0b8

Verify dependencies when assertions are enabled
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 10 Mar 2015 22:18:53 -0700
parents 3ed3f2b4d777
children 03b4fa99eff8
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVM.java	Tue Mar 10 22:15:39 2015 -0700
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVM.java	Tue Mar 10 22:18:53 2015 -0700
@@ -176,6 +176,7 @@
     public enum CodeInstallResult {
         OK("ok"),
         DEPENDENCIES_FAILED("dependencies failed"),
+        DEPENDENCIES_INVALID("dependencies invalid"),
         CACHE_FULL("code cache is full"),
         CODE_TOO_LARGE("code is too large");
 
@@ -191,6 +192,9 @@
                 case "dependencies failed":
                     this.value = config.codeInstallResultDependenciesFailed;
                     break;
+                case "dependencies invalid":
+                    this.value = config.codeInstallResultDependenciesInvalid;
+                    break;
                 case "code cache is full":
                     this.value = config.codeInstallResultCacheFull;
                     break;