changeset 22125:8d2bdc802002

Fixing the formating the way E. formater likes it
author Jaroslav Tulach <jaroslav.tulach@oracle.com>
date Thu, 03 Sep 2015 15:48:35 +0200
parents ff7b5334d725
children 7d4e42092f39
files truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLLanguage.java
diffstat 1 files changed, 37 insertions(+), 37 deletions(-) [+]
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLLanguage.java	Thu Sep 03 10:30:40 2015 +0200
+++ b/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLLanguage.java	Thu Sep 03 15:48:35 2015 +0200
@@ -181,9 +181,9 @@
     private static boolean coverage = false;
 
     /* Small tools that can be installed for demonstration */
-//    private static NodeExecCounter nodeExecCounter = null;
-//    private static NodeExecCounter statementExecCounter = null;
-//    private static CoverageTracker coverageTracker = null;
+    // private static NodeExecCounter nodeExecCounter = null;
+    // private static NodeExecCounter statementExecCounter = null;
+    // private static CoverageTracker coverageTracker = null;
 
     /**
      * The main entry point. Use the mx command "mx sl" to run it with the correct class path setup.
@@ -455,43 +455,43 @@
 
     // TODO (mlvdv) remove the static hack when we no longer have the static demo variables
     private static void setupToolDemos() {
-//        if (statementCounts || coverage) {
-//            if (registeredASTProber == null) {
-//                final ASTProber newProber = new SLStandardASTProber();
-//                // This should be registered on the TruffleVM
-//                Probe.registerASTProber(newProber);
-//                registeredASTProber = newProber;
-//            }
-//        }
-//        if (nodeExecCounts) {
-//            nodeExecCounter = new NodeExecCounter();
-//            nodeExecCounter.install();
-//        }
-//
-//        if (statementCounts) {
-//            statementExecCounter = new NodeExecCounter(StandardSyntaxTag.STATEMENT);
-//            statementExecCounter.install();
-//        }
-//
-//        if (coverage) {
-//            coverageTracker = new CoverageTracker();
-//            coverageTracker.install();
-//        }
+        // if (statementCounts || coverage) {
+        // if (registeredASTProber == null) {
+        // final ASTProber newProber = new SLStandardASTProber();
+        // // This should be registered on the TruffleVM
+        // Probe.registerASTProber(newProber);
+        // registeredASTProber = newProber;
+        // }
+        // }
+        // if (nodeExecCounts) {
+        // nodeExecCounter = new NodeExecCounter();
+        // nodeExecCounter.install();
+        // }
+        //
+        // if (statementCounts) {
+        // statementExecCounter = new NodeExecCounter(StandardSyntaxTag.STATEMENT);
+        // statementExecCounter.install();
+        // }
+        //
+        // if (coverage) {
+        // coverageTracker = new CoverageTracker();
+        // coverageTracker.install();
+        // }
     }
 
     private static void reportToolDemos() {
-//        if (nodeExecCounter != null) {
-//            nodeExecCounter.print(System.out);
-//            nodeExecCounter.dispose();
-//        }
-//        if (statementExecCounter != null) {
-//            statementExecCounter.print(System.out);
-//            statementExecCounter.dispose();
-//        }
-//        if (coverageTracker != null) {
-//            coverageTracker.print(System.out);
-//            coverageTracker.dispose();
-//        }
+        // if (nodeExecCounter != null) {
+        // nodeExecCounter.print(System.out);
+        // nodeExecCounter.dispose();
+        // }
+        // if (statementExecCounter != null) {
+        // statementExecCounter.print(System.out);
+        // statementExecCounter.dispose();
+        // }
+        // if (coverageTracker != null) {
+        // coverageTracker.print(System.out);
+        // coverageTracker.dispose();
+        // }
     }
 
     public Node createFindContextNode0() {