We have both JSCell* JSValue::asCell() and JSCell* asCell(JSValue value). Attached patch gets rid of the latter as suggested by FIXME.
Created attachment 71277 [details] ascell.diff
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.
Created attachment 71279 [details] ascell.diff Fix style warnings. They were already there, but since we are touching the code...
Created attachment 71281 [details] ascell.diff Fix interpreter bits.
Created attachment 71288 [details] ascell.diff
Created attachment 71293 [details] ascell.diff Trying to upload the correct patch...
Comment on attachment 71293 [details] ascell.diff r=me
Comment on attachment 71293 [details] ascell.diff Landed as r70749.
Closing bug.