Bug 21987

Summary: CTI::putDoubleResultToJSNumberCellOrJSImmediate() hardcodes result register
Product: WebKit Reporter: Cameron Zwarich (cpst) <zwarich>
Component: JavaScriptCoreAssignee: Cameron Zwarich (cpst) <zwarich>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed patch oliver: review+

Cameron Zwarich (cpst)
Reported 2008-10-30 14:51:09 PDT
CTI::putDoubleResultToJSNumberCellOrJSImmediate() hardcodes its result register as ecx, but it should clearly be tempReg1, which is currently ecx in all of its callsites.
Attachments
Proposed patch (1.18 KB, patch)
2008-10-30 15:00 PDT, Cameron Zwarich (cpst)
oliver: review+
Cameron Zwarich (cpst)
Comment 1 2008-10-30 15:00:05 PDT
Created attachment 24783 [details] Proposed patch
Cameron Zwarich (cpst)
Comment 2 2008-10-30 15:17:02 PDT
Landed in r38012.
Note You need to log in before you can comment on or make changes to this bug.