RESOLVED FIXED 23941
Remove (/reduce) use of hard-wired register names from the JIT.
https://bugs.webkit.org/show_bug.cgi?id=23941
Summary Remove (/reduce) use of hard-wired register names from the JIT.
Gavin Barraclough
Reported 2009-02-12 18:47:04 PST
Currently there is no abstraction of registers used in the JIT, which has a number of negative consequences. Hard-wiring x86 register names makes the JIT less portable to other platforms, and prevents us from performing dynamic register allocation to attempt to maintain more temporary values in machine registers. (The latter will be more important on x86-64, where we have more registers to make use of).
Attachments
The patch (136.69 KB, patch)
2009-02-12 18:47 PST, Gavin Barraclough
sam: review+
Gavin Barraclough
Comment 1 2009-02-12 18:47:35 PST
Created attachment 27636 [details] The patch
Gavin Barraclough
Comment 2 2009-02-12 20:22:34 PST
Sending JavaScriptCore/ChangeLog Sending JavaScriptCore/assembler/MacroAssemblerX86Common.h Sending JavaScriptCore/jit/JIT.cpp Sending JavaScriptCore/jit/JIT.h Sending JavaScriptCore/jit/JITArithmetic.cpp Sending JavaScriptCore/jit/JITCall.cpp Sending JavaScriptCore/jit/JITInlineMethods.h Sending JavaScriptCore/jit/JITPropertyAccess.cpp Transmitting file data ........ Committed revision 40963.
Note You need to log in before you can comment on or make changes to this bug.