RESOLVED FIXED 83307
Replace static_cast with jsCast when casting JSCell subclasses in JSC
https://bugs.webkit.org/show_bug.cgi?id=83307
Summary Replace static_cast with jsCast when casting JSCell subclasses in JSC
Oliver Hunt
Reported 2012-04-05 13:03:50 PDT
Replace static_cast with jsCast when casting JSCell subclasses in JSC
Attachments
Patch (33.99 KB, patch)
2012-04-05 13:06 PDT, Oliver Hunt
barraclough: review+
Oliver Hunt
Comment 1 2012-04-05 13:06:13 PDT
WebKit Review Bot
Comment 2 2012-04-05 13:09:22 PDT
Attachment 135885 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/API/APICast.h', u'So..." exit_code: 1 Source/JavaScriptCore/jit/JITStubs.cpp:2961: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] Total errors found: 1 in 28 files If any of these errors are false positives, please file a bug against check-webkit-style.
Oliver Hunt
Comment 3 2012-04-05 13:11:00 PDT
Note You need to log in before you can comment on or make changes to this bug.