flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [2/3] git commit: [flex-falcon] [refs/heads/develop] - Add flag to info() structure so we can tell if a SWF was compiled by Falcon
Date Tue, 05 Nov 2013 20:58:30 GMT
Add flag to info() structure so we can tell if a SWF was compiled by Falcon


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

Branch: refs/heads/develop
Commit: 525c2717a9e4f5daf71cd6bb9b23b7d0f586321e
Parents: 7020dcf
Author: Alex Harui <aharui@apache.org>
Authored: Mon Nov 4 23:31:46 2013 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Nov 5 06:32:22 2013 -0800

----------------------------------------------------------------------
 .../org/apache/flex/compiler/internal/targets/FlexTarget.java   | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/525c2717/compiler/src/org/apache/flex/compiler/internal/targets/FlexTarget.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/targets/FlexTarget.java b/compiler/src/org/apache/flex/compiler/internal/targets/FlexTarget.java
index c668941..f9a9e60 100644
--- a/compiler/src/org/apache/flex/compiler/internal/targets/FlexTarget.java
+++ b/compiler/src/org/apache/flex/compiler/internal/targets/FlexTarget.java
@@ -319,6 +319,11 @@ public abstract class FlexTarget
             infoEntries++;
         }
         
+        // mark this SWF as being built with Falcon
+        info.addInstruction(ABCConstants.OP_pushstring, "isMXMLC");
+        info.addInstruction(ABCConstants.OP_pushfalse);
+        infoEntries++;
+        
         // mainClassName:
         if (mainClassQName != null)
         {


Mime
View raw message