changeset 10042:0b30da13d86b

fixed bug in InstanceOfSnippets - deoptimization action should be None for instanceofWithProfile snippet
author Doug Simon <doug.simon@oracle.com>
date Fri, 14 Jun 2013 15:01:20 +0200
parents 595f1f253ef4
children 55bf0dc8e281
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/InstanceOfSnippets.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/replacements/InstanceOfSnippets.java	Thu Jun 13 17:15:36 2013 +0200
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/InstanceOfSnippets.java	Fri Jun 14 15:01:20 2013 +0200
@@ -89,7 +89,7 @@
         }
         // Don't throw away the code as we assume this is a rare event
         // that will periodically occur.
-        DeoptimizeNode.deopt(InvalidateReprofile, OptimizedTypeCheckViolated);
+        DeoptimizeNode.deopt(DeoptimizationAction.None, OptimizedTypeCheckViolated);
         return falseValue;
     }