Changeset 37457 in webkit for trunk/JavaScriptCore/VM/CTI.cpp
- Timestamp:
- Oct 9, 2008, 5:50:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CTI.cpp
r37453 r37457 85 85 #if COMPILER(GCC) && PLATFORM(X86) 86 86 87 #if PLATFORM(DARWIN) 88 #define SYMBOL_STRING(name) "_" #name 89 #else 90 #define SYMBOL_STRING(name) #name 91 #endif 92 87 93 asm( 88 ".globl _ctiTrampoline""\n"89 "_ctiTrampoline:" "\n"94 ".globl " SYMBOL_STRING(ctiTrampoline) "\n" 95 SYMBOL_STRING(ctiTrampoline) ":" "\n" 90 96 "pushl %esi" "\n" 91 97 "pushl %edi" "\n" … … 101 107 102 108 asm( 103 ".globl _ctiVMThrowTrampoline" "\n" 104 "_ctiVMThrowTrampoline:" "\n" 105 "call __ZN3JSC7Machine12cti_vm_throwEPv" "\n" 109 ".globl " SYMBOL_STRING(ctiVMThrowTrampoline) "\n" 110 SYMBOL_STRING(ctiVMThrowTrampoline) ":" "\n" 111 #if USE(CTI_ARGUMENT) 112 "call " SYMBOL_STRING(_ZN3JSC7Machine12cti_vm_throwEPPv) "\n" 113 #else 114 "call " SYMBOL_STRING(_ZN3JSC7Machine12cti_vm_throwEPv) "\n" 115 #endif 106 116 "addl $0x24, %esp" "\n" 107 117 "popl %edi" "\n"
Note:
See TracChangeset
for help on using the changeset viewer.