[Webkit-unassigned] [Bug 134860] Make improvements to Type Profiling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 22 16:51:46 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=134860


Saam Barati <sbarati at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #235172|0                           |1
        is obsolete|                            |
 Attachment #235172|review?, commit-queue?      |
               Flag|                            |
 Attachment #235326|                            |review?, commit-queue?
               Flag|                            |




--- Comment #5 from Saam Barati <sbarati at apple.com>  2014-07-22 16:52:00 PST ---
Created an attachment (id=235326)
 --> (https://bugs.webkit.org/attachment.cgi?id=235326&action=review)
patch 

I improved the API between the inspector and JSC. We no longer send one huge
string to the inspector. We now send structured data that represents the type
information that JSC has collected. I've also created a beginning implementation 
of a type lattice that allows us to resolve a display name for a type that
consists of a single word.

I created a data structure that knows which functions have executed. This
solves the bug where types inside an un-executed function will resolve
to the type of the enclosing expression of that function. This data
structure may also be useful later if the inspector chooses to create a UI
around showing which functions have executed.

Better type information is gathered for objects. StructureShape now
represents an object's prototype chain.  StructureShape also collects
the constructor name for an object.

Expression ranges are now zero indexed.

Removed some extraneous methods.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list