Bug 62082 - DFG JIT - bug passing arguments that need swap
Summary: DFG JIT - bug passing arguments that need swap
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Gavin Barraclough
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 20:19 PDT by Gavin Barraclough
Modified: 2011-06-03 22:13 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Barraclough 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.
Comment 1 Gavin Barraclough 2011-06-03 22:13:58 PDT
Fixed in r88092