Bug 47979

Summary: Do not have two different asCell APIs in JSValue
Product: WebKit Reporter: Xan Lopez <xan.lopez>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
ascell.diff
none
ascell.diff
none
ascell.diff
none
ascell.diff
none
ascell.diff none

Xan Lopez
Reported 2010-10-20 05:47:29 PDT
We have both JSCell* JSValue::asCell() and JSCell* asCell(JSValue value). Attached patch gets rid of the latter as suggested by FIXME.
Attachments
ascell.diff (18.47 KB, patch)
2010-10-20 05:49 PDT, Xan Lopez
no flags
ascell.diff (18.56 KB, patch)
2010-10-20 06:02 PDT, Xan Lopez
no flags
ascell.diff (24.51 KB, patch)
2010-10-20 06:25 PDT, Xan Lopez
no flags
ascell.diff (24.51 KB, patch)
2010-10-20 06:51 PDT, Xan Lopez
no flags
ascell.diff (24.51 KB, patch)
2010-10-20 07:45 PDT, Xan Lopez
no flags
Xan Lopez
Comment 1 2010-10-20 05:49:23 PDT
Created attachment 71277 [details] ascell.diff
WebKit Review Bot
Comment 2 2010-10-20 05:53:32 PDT
Attachment 71277 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 JavaScriptCore/jit/JITStubs.cpp:2909: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] JavaScriptCore/jit/JITStubs.cpp:2915: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] Total errors found: 2 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
Xan Lopez
Comment 3 2010-10-20 06:02:49 PDT
Created attachment 71279 [details] ascell.diff Fix style warnings. They were already there, but since we are touching the code...
Xan Lopez
Comment 4 2010-10-20 06:25:06 PDT
Created attachment 71281 [details] ascell.diff Fix interpreter bits.
Xan Lopez
Comment 5 2010-10-20 06:51:04 PDT
Created attachment 71288 [details] ascell.diff
Xan Lopez
Comment 6 2010-10-20 07:45:41 PDT
Created attachment 71293 [details] ascell.diff Trying to upload the correct patch...
Oliver Hunt
Comment 7 2010-10-27 13:30:39 PDT
Comment on attachment 71293 [details] ascell.diff r=me
Xan Lopez
Comment 8 2010-10-28 00:02:01 PDT
Comment on attachment 71293 [details] ascell.diff Landed as r70749.
Xan Lopez
Comment 9 2010-10-28 00:02:14 PDT
Closing bug.
Note You need to log in before you can comment on or make changes to this bug.