[Webkit-unassigned] [Bug 26953] New: Do not do unnecessary handles casts and inline couple of methods

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 3 10:44:17 PDT 2009


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

           Summary: Do not do unnecessary handles casts and inline couple
                    of methods
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: antonm at chromium.org
                CC: dglazkov at chromium.org, ager at chromium.org


Currently convertToNativeObject accepts v8::Handle<v8::Value>, but can be only
used for v8::Handle<v8::Object> (see a cast).  This cast is cheap, but is not
free (e.g. it checks if handle is empty).  So this patch lifts casts to callers
and makes conversion methods require v8::Handle<v8::Object>

Alongside: inline convertToNativeObject to enable more compiler optimizations.

-- 
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