Bug 66957 - Unzip initialization lists and constructors in JSCell hierarchy (2/7)
Summary: Unzip initialization lists and constructors in JSCell hierarchy (2/7)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Hahnenberg
URL:
Keywords:
Depends on: 66827
Blocks: 66567 67064
  Show dependency treegraph
 
Reported: 2011-08-25 10:40 PDT by Mark Hahnenberg
Modified: 2011-08-26 15:33 PDT (History)
3 users (show)

See Also:


Attachments
Patch (24.34 KB, patch)
2011-08-25 19:01 PDT, Mark Hahnenberg
no flags Details | Formatted Diff | Diff
Fixing review issues (24.08 KB, patch)
2011-08-26 12:27 PDT, Mark Hahnenberg
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hahnenberg 2011-08-25 10:40:38 PDT
This is the second level of the unzipping process described in https://bugs.webkit.org/show_bug.cgi?id=66567.
Comment 1 Mark Hahnenberg 2011-08-25 19:01:25 PDT
Created attachment 105291 [details]
Patch
Comment 2 Darin Adler 2011-08-26 10:05:30 PDT
Comment on attachment 105291 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=105291&action=review

> Source/JavaScriptCore/runtime/Executable.h:221
> +#else
> +        void finishCreation(JSGlobalData& globalData)
> +        {
> +            Base::finishCreation(globalData);
> +        }
> +#endif

Why is this needed? Don’t we already inherit the base function? Not sure why we’d need to override it with an inline that does the same thing.

> Source/JavaScriptCore/runtime/Executable.h:291
> +            UNUSED_PARAM(globalData);

This is incorrect. The parameter is passed to the base class version of finishCreation so it is used.
Comment 3 Mark Hahnenberg 2011-08-26 12:27:55 PDT
Created attachment 105390 [details]
Fixing review issues
Comment 4 WebKit Review Bot 2011-08-26 15:33:06 PDT
Comment on attachment 105390 [details]
Fixing review issues

Clearing flags on attachment: 105390

Committed r93920: <http://trac.webkit.org/changeset/93920>
Comment 5 WebKit Review Bot 2011-08-26 15:33:11 PDT
All reviewed patches have been landed.  Closing bug.