Changeset 59637 in webkit for trunk/JavaScriptCore/jit/ThunkGenerators.cpp
- Timestamp:
- May 17, 2010, 7:39:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/ThunkGenerators.cpp
r58902 r59637 63 63 } 64 64 65 PassRefPtr<NativeExecutable>charCodeAtThunkGenerator(JSGlobalData* globalData, ExecutablePool* pool)65 MacroAssemblerCodePtr charCodeAtThunkGenerator(JSGlobalData* globalData, ExecutablePool* pool) 66 66 { 67 67 SpecializedThunkJIT jit(1, globalData, pool); … … 71 71 } 72 72 73 PassRefPtr<NativeExecutable>charAtThunkGenerator(JSGlobalData* globalData, ExecutablePool* pool)73 MacroAssemblerCodePtr charAtThunkGenerator(JSGlobalData* globalData, ExecutablePool* pool) 74 74 { 75 75 SpecializedThunkJIT jit(1, globalData, pool); … … 80 80 } 81 81 82 PassRefPtr<NativeExecutable>fromCharCodeThunkGenerator(JSGlobalData* globalData, ExecutablePool* pool)82 MacroAssemblerCodePtr fromCharCodeThunkGenerator(JSGlobalData* globalData, ExecutablePool* pool) 83 83 { 84 84 SpecializedThunkJIT jit(1, globalData, pool); … … 90 90 } 91 91 92 PassRefPtr<NativeExecutable>sqrtThunkGenerator(JSGlobalData* globalData, ExecutablePool* pool)92 MacroAssemblerCodePtr sqrtThunkGenerator(JSGlobalData* globalData, ExecutablePool* pool) 93 93 { 94 94 #if USE(JSVALUE64) || USE(JSVALUE32_64) 95 95 SpecializedThunkJIT jit(1, globalData, pool); 96 96 if (!jit.supportsFloatingPointSqrt()) 97 return globalData->jitStubs.ctiNativeCall Thunk();97 return globalData->jitStubs.ctiNativeCall(); 98 98 99 99 jit.loadDoubleArgument(0, SpecializedThunkJIT::fpRegT0, SpecializedThunkJIT::regT0); … … 103 103 #else 104 104 UNUSED_PARAM(pool); 105 return globalData->jitStubs.ctiNativeCall Thunk();105 return globalData->jitStubs.ctiNativeCall(); 106 106 #endif 107 107 } … … 110 110 static const double negativeHalfConstant = -0.5; 111 111 112 PassRefPtr<NativeExecutable>powThunkGenerator(JSGlobalData* globalData, ExecutablePool* pool)112 MacroAssemblerCodePtr powThunkGenerator(JSGlobalData* globalData, ExecutablePool* pool) 113 113 { 114 114 #if USE(JSVALUE64) || USE(JSVALUE32_64) 115 115 SpecializedThunkJIT jit(2, globalData, pool); 116 116 if (!jit.supportsFloatingPoint()) 117 return globalData->jitStubs.ctiNativeCall Thunk();117 return globalData->jitStubs.ctiNativeCall(); 118 118 119 119 jit.loadDouble(&oneConstant, SpecializedThunkJIT::fpRegT1); … … 151 151 #else 152 152 UNUSED_PARAM(pool); 153 return globalData->jitStubs.ctiNativeCall Thunk();153 return globalData->jitStubs.ctiNativeCall(); 154 154 #endif 155 155 }
Note:
See TracChangeset
for help on using the changeset viewer.