Bug 62082

Summary: DFG JIT - bug passing arguments that need swap
Product: WebKit Reporter: Gavin Barraclough <barraclough>
Component: JavaScriptCoreAssignee: Gavin Barraclough <barraclough>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Gavin Barraclough
Reported 2011-06-03 20:19:30 PDT
This is really just a typo. When setting up the arguments for a call out to a C operation, we'll fail to swap arguments where this is necessary. For example, in the case of 2 arg calls, where the first argument is in %rdx & the second is in %rsi we should swap (exec will be passed in %rdi), but we don't. This can also affect function calls passing three arguments.
Attachments
Gavin Barraclough
Comment 1 2011-06-03 22:13:58 PDT
Fixed in r88092
Note You need to log in before you can comment on or make changes to this bug.