RESOLVED FIXED 69863
DFG JIT 32_64 - Switch to cdecl calling convention.
https://bugs.webkit.org/show_bug.cgi?id=69863
Summary DFG JIT 32_64 - Switch to cdecl calling convention.
Gavin Barraclough
Reported 2011-10-11 13:39:38 PDT
This makes it easier to keep the stack correctly aligned, which is reuired on OS X.
Attachments
The patch (35.78 KB, patch)
2011-10-11 13:54 PDT, Gavin Barraclough
oliver: review+
Gavin Barraclough
Comment 1 2011-10-11 13:54:04 PDT
Created attachment 110570 [details] The patch
WebKit Review Bot
Comment 2 2011-10-11 13:56:41 PDT
Attachment 110570 [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/dfg/DFGOperations.h:87: DFG_OPERATION is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Source/JavaScriptCore/dfg/DFGJITCodeGenerator.h:1252: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 2 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Oliver Hunt
Comment 3 2011-10-11 14:20:52 PDT
Comment on attachment 110570 [details] The patch View in context: https://bugs.webkit.org/attachment.cgi?id=110570&action=review r=me, fix the spelling error and the sizeof<SPACE!!!!>( style error > Source/JavaScriptCore/ChangeLog:8 > + This makes it easier to keep the stack correctly aligned, which is reuired on OS X. required. r-!!!!!111!!!1!!!111!1 > Source/JavaScriptCore/dfg/DFGJITCodeGenerator.h:1060 > + m_jit.move(Imm32(numConstants), GPRInfo::argumentGPR2); > + m_jit.move(Imm32(startConstant), GPRInfo::argumentGPR1); well caught sir! >> Source/JavaScriptCore/dfg/DFGJITCodeGenerator.h:1252 >> + m_jit.storeDouble(value, JITCompiler::Address(JITCompiler::stackPointerRegister, m_callArgumentIndex * sizeof (void*))); > > Extra space before ( in function call [whitespace/parens] [4] This is a real style bug in the sizeof
Gavin Barraclough
Comment 4 2011-10-11 15:50:59 PDT
Fixed in r97189
Note You need to log in before you can comment on or make changes to this bug.