Ignore:
Timestamp:
Dec 18, 2007, 11:42:29 PM (18 years ago)
Author:
[email protected]
Message:

Replace post-parse pass to find declarations with logic in the parser itself

Reviewed by Geoff.

Instead of finding declarations in a pass following the initial parsing of
a program, we incorporate the logic directly into the parser. This lays
the groundwork for further optimisations (such as improving performance in
declaration expressions -- var x = y; -- to match that of standard assignment)
in addition to providing a 0.4% performance improvement in SunSpider.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r28715 r28854  
    121121__ZN3KJS11JSImmediate8toObjectEPKNS_7JSValueEPNS_9ExecStateE
    122122__ZN3KJS11JSImmediate8toStringEPKNS_7JSValueE
    123 __ZN3KJS11ProgramNodeC1EPN3WTF6VectorINS1_6RefPtrINS_13StatementNodeEEELm0EEE
     123__ZN3KJS11ProgramNodeC1EPN3WTF6VectorINS1_6RefPtrINS_13StatementNodeEEELm0EEEPNS2_IPNS_11VarDeclNodeELm16EEEPNS2_IPNS_12FuncDeclNodeELm16EEE
    124124__ZN3KJS11PropertyMap11getLocationERKNS_10IdentifierE
    125125__ZN3KJS11PropertyMap5clearEv
     
    154154__ZN3KJS16JSVariableObject14deletePropertyEPNS_9ExecStateERKNS_10IdentifierE
    155155__ZN3KJS16JSVariableObject16getPropertyNamesEPNS_9ExecStateERNS_17PropertyNameArrayE
     156__ZN3KJS16ParserRefCounted3refEv
     157__ZN3KJS16ParserRefCounted5derefEv
    156158__ZN3KJS16RuntimeObjectImp4infoE
    157159__ZN3KJS16RuntimeObjectImpC1EPNS_8Bindings8InstanceE
     
    161163__ZN3KJS4List15expandAndAppendEPNS_7JSValueE
    162164__ZN3KJS4List7markSetEv
    163 __ZN3KJS4Node3refEv
    164 __ZN3KJS4Node5derefEv
    165165__ZN3KJS6JSCell9getObjectEv
    166166__ZN3KJS6JSCellnwEm
     
    202202__ZN3KJS8DebuggerC2Ev
    203203__ZN3KJS8DebuggerD2Ev
    204 __ZN3KJS8EvalNodeC1EPN3WTF6VectorINS1_6RefPtrINS_13StatementNodeEEELm0EEE
    205204__ZN3KJS8JSObject11hasInstanceEPNS_9ExecStateEPNS_7JSValueE
    206205__ZN3KJS8JSObject12removeDirectERKNS_10IdentifierE
Note: See TracChangeset for help on using the changeset viewer.