diff truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/debug/Debugger.java @ 22011:95d5d6a93968

add more truffle boundaries
author Andreas Woess <andreas.woess@oracle.com>
date Thu, 23 Jul 2015 17:23:05 +0200
parents 02e4cf046653
children 78c3d3d8d86e
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/debug/Debugger.java	Thu Jul 23 16:28:48 2015 +0200
+++ b/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/debug/Debugger.java	Thu Jul 23 17:23:05 2015 +0200
@@ -399,7 +399,7 @@
         @Override
         protected void setStrategy(final int stackDepth) {
             Probe.setBeforeTagTrap(new SyntaxTagTrap(STEPPING_TAG) {
-
+                @TruffleBoundary
                 @Override
                 public void tagTrappedAt(Node node, MaterializedFrame mFrame) {
                     // HALT: just before statement
@@ -413,7 +413,7 @@
                 }
             });
             Probe.setAfterTagTrap(new SyntaxTagTrap(CALL_TAG) {
-
+                @TruffleBoundary
                 @Override
                 public void tagTrappedAt(Node node, MaterializedFrame mFrame) {
                     --unfinishedStepCount;
@@ -500,7 +500,7 @@
         @Override
         protected void setStrategy(final int stackDepth) {
             Probe.setBeforeTagTrap(new SyntaxTagTrap(STEPPING_TAG) {
-
+                @TruffleBoundary
                 @Override
                 public void tagTrappedAt(Node node, MaterializedFrame mFrame) {
                     final int currentStackDepth = currentStackDepth();
@@ -525,7 +525,7 @@
             });
 
             Probe.setAfterTagTrap(new SyntaxTagTrap(CALL_TAG) {
-
+                @TruffleBoundary
                 @Override
                 public void tagTrappedAt(Node node, MaterializedFrame mFrame) {
                     final int currentStackDepth = currentStackDepth();
@@ -575,7 +575,7 @@
         @Override
         protected void setStrategy(final int stackDepth) {
             Probe.setBeforeTagTrap(new SyntaxTagTrap(STEPPING_TAG) {
-
+                @TruffleBoundary
                 @Override
                 public void tagTrappedAt(Node node, MaterializedFrame mFrame) {
                     final int currentStackDepth = currentStackDepth();