Bug 74338 - Remove uses of JSFinalObject vptr
Summary: Remove uses of JSFinalObject vptr
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: 74332
Blocks: 74331
  Show dependency treegraph
 
Reported: 2011-12-12 14:30 PST by Mark Hahnenberg
Modified: 2011-12-18 12:22 PST (History)
0 users

See Also:


Attachments
Remove uses of JSFinalObject vptr (29.64 KB, patch)
2011-12-12 14:51 PST, Mark Hahnenberg
ggaren: review+
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-12-12 14:30:39 PST
Same as bug 74333, but with JSFinalObject.
Comment 1 Mark Hahnenberg 2011-12-12 14:51:11 PST
Created attachment 118861 [details]
Remove uses of JSFinalObject vptr

No changelog (see bug 74331).
Comment 2 Geoffrey Garen 2011-12-12 15:02:31 PST
Comment on attachment 118861 [details]
Remove uses of JSFinalObject vptr

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

r=me

> Source/JavaScriptCore/heap/MarkStack.cpp:310
> +    if (cell->classInfo() == &JSFinalObject::s_info) {

I'd create an isJSFinalObject() helper and use that here.