ilene       2003/05/30 06:57:37

  Modified:    java/src/org/apache/xalan/templates StylesheetRoot.java
  Log:
  REE causes some new failures which need to be investigated.  Backing out
  for now.
  
  Revision  Changes    Path
  1.52      +11 -7     
xml-xalan/java/src/org/apache/xalan/templates/StylesheetRoot.java
  
  Index: StylesheetRoot.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/templates/StylesheetRoot.java,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- StylesheetRoot.java       29 May 2003 02:01:42 -0000      1.51
  +++ StylesheetRoot.java       30 May 2003 13:57:37 -0000      1.52
  @@ -299,16 +299,20 @@
       for (int i = recomposableElements.size() - 1; i >= 0; i--)
         ((ElemTemplateElement) 
recomposableElements.elementAt(i)).recompose(this);
       
  -      
  +/*
  + * Backing out REE again, as it seems to cause some new failures
  + * which need to be investigated. -is
  + */      
       // This has to be done before the initialization of the compose state, 
because 
       // eleminateRedundentGlobals will add variables to the m_variables 
vector, which 
       // it then copied in the ComposeState constructor.
  -    if(true && org.apache.xalan.processor.TransformerFactoryImpl.m_optimize)
  -    {
  -          RedundentExprEliminator ree = new RedundentExprEliminator();
  -          callVisitors(ree);
  -          ree.eleminateRedundentGlobals(this);
  -    }
  +    
  +//    if(true && 
org.apache.xalan.processor.TransformerFactoryImpl.m_optimize)
  +//    {
  +//          RedundentExprEliminator ree = new RedundentExprEliminator();
  +//          callVisitors(ree);
  +//          ree.eleminateRedundentGlobals(this);
  +//    }
             
       initComposeState();
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to