[svn] 1631: Fixed Hospital app compilation by using the new OffsetInputBuffer.
revision: 1631
author: preilly@adobe.com
date: 2008-05-09 08:28:23 -0700 (fri, 09 may 2008)
log message:
-----------
fixed hospital app compilation using new offsetinputbuffer.
reduced string.intern() calls telling asc not intern constants,
which used during direct ast generation, because have
been interned.
testsuites passed: checkintests, mxunit compiler, mxmlcunit compiler
(one new unrelated failure due signature
changes), performance
needs qa: yes
needs doc: no
api change: no
reviewer: tierney, pfarland
code-level description of changes:
modules/asc/src/java/macromedia/asc/parser/nodefactory.java
modified identifier() use constant "arguments" , use
== comparison since both sides have been interned.
added new identifier() , literalstring() variants support
string.intern() avoidance.
modules/asc/src/java/macromedia/asc/parser/literalstringnode.java
added new constructor support string.intern() avoidance.
modules/asc/src/java/macromedia/asc/parser/scanner.java
added new constructor support passing in custom inputbuffer.
modules/asc/src/java/macromedia/asc/parser/parser.java
added new constructor support passing in custom inputbuffer.
modules/asc/src/java/macromedia/asc/parser/identifiernode.java
added new constructor support string.intern() avoidance.
added constant "*" , modified setname() use == comparison
since both sides have been interned.
modules/compiler/src/java/flex2/compiler/as3/offsetinputbuffer.java
initial checkin.
modules/compiler/src/java/flex2/compiler/as3/abstractsyntaxtreeutil.java
modified parse() use offsetinputbuffer.
added intern avoidance support.
modules/compiler/src/java/flex2/compiler/as3/binding/databindingextension.java
modules/compiler/src/java/flex2/compiler/mxml/rep/atresource.java
modules/compiler/src/java/flex2/compiler/mxml/rep/init/effectinitializer.java
modules/compiler/src/java/flex2/compiler/mxml/rep/init/valueinitializer.java
modules/compiler/src/java/flex2/compiler/mxml/rep/init/styleinitializer.java
modules/compiler/src/java/flex2/compiler/mxml/rep/init/eventinitializer.java
modules/compiler/src/java/flex2/compiler/mxml/rep/init/visualchildinitializer.java
modules/compiler/src/java/flex2/compiler/mxml/rep/bindingexpression.java
modules/compiler/src/java/flex2/compiler/mxml/interfacegenerator.java
modules/compiler/src/java/flex2/compiler/mxml/abstractgenerator.java
modules/compiler/src/java/flex2/compiler/mxml/implementationgenerator.java
added intern avoidance support.
modified paths:
--------------
flex/sdk/trunk/lib/asc.jar
flex/sdk/trunk/modules/asc/build/java/build.xml
flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/identifiernode.java
flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/literalstringnode.java
flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/nodefactory.java
flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/parser.java
flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/scanner.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/abstractsyntaxtreeutil.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/codefragmentsinputbuffer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/databindingextension. java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/abstractgenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/implementationgenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/interfacegenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/standarddefs.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/atresource.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/bindingexpression.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/effectinitializer.j ava
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/eventinitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/styleinitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/valueinitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/visualchildinitiali zer.java
added paths:
-----------
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/offsetinputbuffer.java
author: preilly@adobe.com
date: 2008-05-09 08:28:23 -0700 (fri, 09 may 2008)
log message:
-----------
fixed hospital app compilation using new offsetinputbuffer.
reduced string.intern() calls telling asc not intern constants,
which used during direct ast generation, because have
been interned.
testsuites passed: checkintests, mxunit compiler, mxmlcunit compiler
(one new unrelated failure due signature
changes), performance
needs qa: yes
needs doc: no
api change: no
reviewer: tierney, pfarland
code-level description of changes:
modules/asc/src/java/macromedia/asc/parser/nodefactory.java
modified identifier() use constant "arguments" , use
== comparison since both sides have been interned.
added new identifier() , literalstring() variants support
string.intern() avoidance.
modules/asc/src/java/macromedia/asc/parser/literalstringnode.java
added new constructor support string.intern() avoidance.
modules/asc/src/java/macromedia/asc/parser/scanner.java
added new constructor support passing in custom inputbuffer.
modules/asc/src/java/macromedia/asc/parser/parser.java
added new constructor support passing in custom inputbuffer.
modules/asc/src/java/macromedia/asc/parser/identifiernode.java
added new constructor support string.intern() avoidance.
added constant "*" , modified setname() use == comparison
since both sides have been interned.
modules/compiler/src/java/flex2/compiler/as3/offsetinputbuffer.java
initial checkin.
modules/compiler/src/java/flex2/compiler/as3/abstractsyntaxtreeutil.java
modified parse() use offsetinputbuffer.
added intern avoidance support.
modules/compiler/src/java/flex2/compiler/as3/binding/databindingextension.java
modules/compiler/src/java/flex2/compiler/mxml/rep/atresource.java
modules/compiler/src/java/flex2/compiler/mxml/rep/init/effectinitializer.java
modules/compiler/src/java/flex2/compiler/mxml/rep/init/valueinitializer.java
modules/compiler/src/java/flex2/compiler/mxml/rep/init/styleinitializer.java
modules/compiler/src/java/flex2/compiler/mxml/rep/init/eventinitializer.java
modules/compiler/src/java/flex2/compiler/mxml/rep/init/visualchildinitializer.java
modules/compiler/src/java/flex2/compiler/mxml/rep/bindingexpression.java
modules/compiler/src/java/flex2/compiler/mxml/interfacegenerator.java
modules/compiler/src/java/flex2/compiler/mxml/abstractgenerator.java
modules/compiler/src/java/flex2/compiler/mxml/implementationgenerator.java
added intern avoidance support.
modified paths:
--------------
flex/sdk/trunk/lib/asc.jar
flex/sdk/trunk/modules/asc/build/java/build.xml
flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/identifiernode.java
flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/literalstringnode.java
flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/nodefactory.java
flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/parser.java
flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/scanner.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/abstractsyntaxtreeutil.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/codefragmentsinputbuffer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/databindingextension. java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/abstractgenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/implementationgenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/interfacegenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/standarddefs.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/atresource.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/bindingexpression.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/effectinitializer.j ava
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/eventinitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/styleinitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/valueinitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/visualchildinitiali zer.java
added paths:
-----------
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/offsetinputbuffer.java
More discussions in Commits
adobe
Comments
Post a Comment