Changeset 47530 in webkit for trunk/JavaScriptCore/wrec
- Timestamp:
- Aug 19, 2009, 5:02:24 PM (16 years ago)
- Location:
- trunk/JavaScriptCore/wrec
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wrec/WRECGenerator.cpp
r40799 r47530 43 43 #if PLATFORM(X86) 44 44 // On x86 edi & esi are callee preserved registers. 45 push(X86 ::edi);46 push(X86 ::esi);45 push(X86Registers::edi); 46 push(X86Registers::esi); 47 47 48 48 #if COMPILER(MSVC) … … 73 73 // Restore callee save registers. 74 74 #if PLATFORM(X86) 75 pop(X86 ::esi);76 pop(X86 ::edi);75 pop(X86Registers::esi); 76 pop(X86Registers::edi); 77 77 #endif 78 78 ret(); … … 112 112 113 113 #if PLATFORM(X86) 114 pop(X86 ::esi);115 pop(X86 ::edi);114 pop(X86Registers::esi); 115 pop(X86Registers::edi); 116 116 #endif 117 117 ret(); -
trunk/JavaScriptCore/wrec/WRECGenerator.h
r40799 r47530 64 64 65 65 #if PLATFORM(X86) 66 static const RegisterID input = X86 ::eax;67 static const RegisterID index = X86 ::edx;68 static const RegisterID length = X86 ::ecx;69 static const RegisterID output = X86 ::edi;66 static const RegisterID input = X86Registers::eax; 67 static const RegisterID index = X86Registers::edx; 68 static const RegisterID length = X86Registers::ecx; 69 static const RegisterID output = X86Registers::edi; 70 70 71 static const RegisterID character = X86 ::esi;72 static const RegisterID repeatCount = X86 ::ebx; // How many times the current atom repeats in the current match.71 static const RegisterID character = X86Registers::esi; 72 static const RegisterID repeatCount = X86Registers::ebx; // How many times the current atom repeats in the current match. 73 73 74 static const RegisterID returnRegister = X86 ::eax;74 static const RegisterID returnRegister = X86Registers::eax; 75 75 #endif 76 76 #if PLATFORM(X86_64) 77 static const RegisterID input = X86 ::edi;78 static const RegisterID index = X86 ::esi;79 static const RegisterID length = X86 ::edx;80 static const RegisterID output = X86 ::ecx;77 static const RegisterID input = X86Registers::edi; 78 static const RegisterID index = X86Registers::esi; 79 static const RegisterID length = X86Registers::edx; 80 static const RegisterID output = X86Registers::ecx; 81 81 82 static const RegisterID character = X86 ::eax;83 static const RegisterID repeatCount = X86 ::ebx; // How many times the current atom repeats in the current match.82 static const RegisterID character = X86Registers::eax; 83 static const RegisterID repeatCount = X86Registers::ebx; // How many times the current atom repeats in the current match. 84 84 85 static const RegisterID returnRegister = X86 ::eax;85 static const RegisterID returnRegister = X86Registers::eax; 86 86 #endif 87 87
Note:
See TracChangeset
for help on using the changeset viewer.