Updated Branches:
  refs/heads/develop b8643df18 -> 6d071f01e

try to fix vector handling by not using forward references in the name pool


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/6481dc95
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/6481dc95
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/6481dc95

Branch: refs/heads/develop
Commit: 6481dc9580dadc160d3b1bdfcfe36500987b7f0d
Parents: b8643df
Author: Alex Harui <[email protected]>
Authored: Wed Oct 2 20:33:58 2013 -0700
Committer: Alex Harui <[email protected]>
Committed: Tue Oct 8 13:50:55 2013 -0700

----------------------------------------------------------------------
 compiler/src/org/apache/flex/abc/ABCEmitter.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/6481dc95/compiler/src/org/apache/flex/abc/ABCEmitter.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/abc/ABCEmitter.java 
b/compiler/src/org/apache/flex/abc/ABCEmitter.java
index 7398199..93c9b1a 100644
--- a/compiler/src/org/apache/flex/abc/ABCEmitter.java
+++ b/compiler/src/org/apache/flex/abc/ABCEmitter.java
@@ -1351,8 +1351,6 @@ public final class ABCEmitter implements IABCVisitor
     {
         verifyEmitterStatus();
 
-        this.namePool.add(n);
-
         if (null == n)
             return;
 
@@ -1360,6 +1358,8 @@ public final class ABCEmitter implements IABCVisitor
 
         if (kind != ABCConstants.CONSTANT_TypeName)
         {
+            this.namePool.add(n);
+
             visitPooledString(n.getBaseName());
             if ((kind == ABCConstants.CONSTANT_Qname) || (kind == 
ABCConstants.CONSTANT_QnameA))
                 visitPooledNamespace(n.getSingleQualifier());
@@ -1370,6 +1370,7 @@ public final class ABCEmitter implements IABCVisitor
         {
             visitPooledName(n.getTypeNameBase());
             visitPooledName(n.getTypeNameParameter());
+            this.namePool.add(n);
         }
     }
 

Reply via email to