diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleOptions.java @ 10690:a0309f88306c

Added truffle option to enable detailed rewrite messages. Disabled by default.
author Christian Humer <christian.humer@gmail.com>
date Wed, 10 Jul 2013 09:42:22 +0200
parents 9db1377b0580
children 494b818b527c
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleOptions.java	Wed Jul 10 09:23:15 2013 +0200
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleOptions.java	Wed Jul 10 09:42:22 2013 +0200
@@ -34,6 +34,12 @@
     public static boolean TraceRewrites = false;
 
     /**
+     * Enables the generation of detailed rewrite reasons. Enabling this may introduce some overhead
+     * for rewriting nodes.
+     */
+    public static final boolean DetailedRewriteReasons = false;
+
+    /**
      * Filters rewrites that do not contain the given string in the qualified name of the source or
      * target class hierarchy.
      */