Bug 103005 - dumpOperands() claims that it needs a non-const Operands& when that is completely false
Summary: dumpOperands() claims that it needs a non-const Operands& when that is comple...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-21 18:37 PST by Filip Pizlo
Modified: 2012-11-21 19:06 PST (History)
7 users (show)

See Also:


Attachments
the patch (1.68 KB, patch)
2012-11-21 18:41 PST, Filip Pizlo
eric.carlson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2012-11-21 18:37:44 PST
There is some nasty const-casting being done, when it's completely unnecessary.

The non-const variant of dumpOperands() should just be removed.
Comment 1 Filip Pizlo 2012-11-21 18:41:56 PST
Created attachment 175564 [details]
the patch
Comment 2 Filip Pizlo 2012-11-21 19:06:23 PST
Landed in http://trac.webkit.org/changeset/135462