Esempio n. 1
0
 final void onEnter(EventContext context, VirtualFrame frame) {
   try {
     innerOnEnter(context, frame);
   } catch (Throwable t) {
     if (!seenException) {
       CompilerDirectives.transferToInterpreterAndInvalidate();
       seenException = true;
     }
     if (binding.isLanguageBinding()) {
       throw t;
     } else {
       CompilerDirectives.transferToInterpreter();
       failEventForInstrumentation(binding, "onEnter", t);
     }
   }
   if (next != null) {
     next.onEnter(context, frame);
   }
 }