Ignore:
Timestamp:
Oct 29, 2019 1:59:02 PM (6 weeks ago)
Author:
jwedin
Message:

Changed so that node count dumping is done on the root node instead of statically on ASTNode. Refactored some fields to no longer be static. Changed so that DSSets are given their id in the constructor. #5865

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-jw-2590/Compiler/ModelicaMiddleEnd/src/jastadd/Profiling.jrag

    r12940 r13900  
    401401    }
    402402
    403     private static Map<Class,Counter> ASTNode.buildNodeCountMap = null;
     403    private Map<Class,Counter> ASTNode.buildNodeCountMap = null;
    404404
    405405    private static NodeCountExtra[] ASTNode.nodeCountExtra = new NodeCountExtra[] { };
     
    413413     * Output a list of the number of instances of each node class.
    414414     */
    415     public static void ASTNode.dumpNodeCount(String file)
     415    public void ASTNode.dumpNodeCount(String file)
    416416            throws IOException {
    417417        ArrayList<Counter> list = new ArrayList<Counter>();
Note: See TracChangeset for help on using the changeset viewer.