changeset 23171:827a777e8dc4

Add control flow anchors to PEAAssertionsTest.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 14 Dec 2015 09:20:26 +0100
parents cce1287c1778
children 73fe188fcdd0 ccca06a06894
files graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/ea/PEAAssertionsTest.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/ea/PEAAssertionsTest.java	Sun Dec 13 23:10:05 2015 +0100
+++ b/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/ea/PEAAssertionsTest.java	Mon Dec 14 09:20:26 2015 +0100
@@ -123,6 +123,7 @@
         if (b) {
             GraalDirectives.ensureVirtualized(object);
         }
+        GraalDirectives.controlFlowAnchor();
         field = object;
     }
 
@@ -138,6 +139,7 @@
         } else {
             GraalDirectives.ensureVirtualized(object);
         }
+        GraalDirectives.controlFlowAnchor();
         field = object; // assert here
     }
 
@@ -154,6 +156,7 @@
         } else {
             field = 2;
         }
+        GraalDirectives.controlFlowAnchor();
         field = object; // assert here
     }