WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
68586
Add X86 GPRInfo for DFG JIT.
https://bugs.webkit.org/show_bug.cgi?id=68586
Summary
Add X86 GPRInfo for DFG JIT.
Gavin Barraclough
Reported
2011-09-21 16:34:15 PDT
X86 has fewer registers!
Attachments
Fix
(3.24 KB, patch)
2011-09-21 16:35 PDT
,
Gavin Barraclough
ggaren
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Gavin Barraclough
Comment 1
2011-09-21 16:35:09 PDT
Created
attachment 108252
[details]
Fix
Geoffrey Garen
Comment 2
2011-09-21 16:44:37 PDT
Comment on
attachment 108252
[details]
Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=108252&action=review
r=me
> Source/JavaScriptCore/dfg/DFGGPRInfo.h:46 > + // These registers match the old JIT.
Let's call this "baseline JIT".
> Source/JavaScriptCore/dfg/DFGGPRInfo.h:59 > + static const GPRReg argumentGPR0 = X86Registers::ecx; // regT2 > + static const GPRReg argumentGPR1 = X86Registers::edx; // regT1 > + static const GPRReg returnValueGPR = X86Registers::eax; // regT0 > + static const GPRReg returnValueGPR2 = X86Registers::edx; // regT1
This numbering convention is not consistent. Would be good to make it so in a future patch.
Gavin Barraclough
Comment 3
2011-09-21 16:49:30 PDT
fixed in
r95684
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug