[Laszlo-dev] For Review: Change 20090505-ptw-b Summary: Improve profiler annotation

P T Withington ptw at pobox.com
Tue May 5 08:38:19 PDT 2009


Change 20090505-ptw-b by ptw at dueling-banjos.home on 2009-05-05  
11:31:34 EDT
     in /Users/ptw/OpenLaszlo/trunk-2
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Improve profiler annotation

Bugs Fixed: LPP-8157  debug info in script compiler for IE7 causes  
profiler difficulties

Technical Reviewer: hminsky (pending)
QA Reviewer: max (pending)

Details:
     LzNode: Remove redundant code that is now handled in Class.

     LzNode, Class: Fix _ignoreAttribute tests to use `===`.

     LzDefs: Add info to binding expressions for profiling

     JavascriptGenerator, CodeGenerator: look for #pragma
     userFunctionName that allows tag compiler to pass prettier
     debug/profile names for what would otherwise be anonymous
     functions.

     NodeModel: Give pretty names to binders, handlers, setters.

Tests:
     profiling lzxpix, Henry will test IE

Files:
M      WEB-INF/lps/lfc/core/LzNode.lzs
M      WEB-INF/lps/lfc/core/LzDefs.lzs
M      WEB-INF/lps/lfc/compiler/Class.lzs
M      WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptGenerator.java
M      WEB-INF/lps/server/src/org/openlaszlo/sc/CodeGenerator.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090505-ptw-b.tar


More information about the Laszlo-dev mailing list