Ignore:
Timestamp:
Dec 2, 2012, 12:50:44 AM (6 years ago)
Author:
ksherdy
Message:

General refactoring.

Location:
proto/pablo/src/compiler/backend
Files:
2 added
1 copied

Legend:

Unmodified
Added
Removed
  • proto/pablo/src/compiler/backend/visitors/CarryIntroXFormer.java

    r2702 r2710  
    1 package compiler.semanticAnalyzer.visitors;
     1package compiler.backend.visitors;
    22
    33import ast.*;
     
    99import compiler.lang.carryset.CarrySet2Lang;
    1010import compiler.lang.pablo.BuiltinsUtil;
     11
     12// TODO - Add while type to switch on/off carry in mode. Carry in is an internal to this visitor.
    1113
    1214public class CarryIntroXFormer {
     
    2022    }
    2123
    22     public void XForm(boolean ci /*, boolean co*/) {
    23                 XFormer visitor = new XFormer(ci /*, co*/);
     24    public void XForm(/*boolean ci , boolean co*/) {
     25                XFormer visitor = new XFormer(/*ci , co*/);
    2426                ASTTree.accept(visitor);
    2527    }                   
     
    3234                //private String [] pending64QName = {CarryQ.CarryQ_PACKAGE_NAME, CarryQ.GETPENDING64.cPPCode()};
    3335               
     36                private boolean isFinalBlock;
     37               
    3438                private boolean ciMode;
    3539                //private boolean coMode;
     
    3943                //private int lastStmtCarries;
    4044               
    41                 XFormer(boolean ciMode /*, boolean coMode */) {
    42                         this.ciMode = ciMode;
     45                XFormer(/*boolean ciMode , boolean coMode */) {
     46                        this.ciMode = true;
    4347                        //this.coMode = coMode;
    4448                        this.currentCarry = 0;
Note: See TracChangeset for help on using the changeset viewer.