changeset 21061:a671d592a8da

Modify semantics of StressInvokeWithExceptionNode.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 21 Apr 2015 01:27:08 +0200
parents bc54c4091715
children 09d9141cf7d8 0a3bc68fc3a7
files graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java	Tue Apr 21 00:50:05 2015 +0200
+++ b/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java	Tue Apr 21 01:27:08 2015 +0200
@@ -1152,8 +1152,8 @@
                 // be conservative if information was not recorded (could result in endless
                 // recompiles otherwise)
                 Invoke invoke;
-                if (!StressInvokeWithExceptionNode.getValue() &&
-                                (graphBuilderConfig.omitAllExceptionEdges() || (optimisticOpts.useExceptionProbability() && profilingInfo != null && profilingInfo.getExceptionSeen(bci()) == TriState.FALSE))) {
+                if (graphBuilderConfig.omitAllExceptionEdges() ||
+                                (!StressInvokeWithExceptionNode.getValue() && optimisticOpts.useExceptionProbability() && profilingInfo != null && profilingInfo.getExceptionSeen(bci()) == TriState.FALSE)) {
                     invoke = createInvoke(callTarget, resultType);
                 } else {
                     invoke = createInvokeWithException(callTarget, resultType);