If a double-to-int conversion is using a constant, then don't emit code to convert the constant to an int. Just convert it in the compiler.
Created attachment 124908 [details] the patch
Attachment 124908 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/bytecode/CodeBlock.h:728: The parameter name "v" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 124909 [details] the patch Fixed style.
Landed in http://trac.webkit.org/changeset/106502
<rdar://problem/10817150>