Changeset 15583 in webkit for trunk/JavaScriptCore
- Timestamp:
- Jul 23, 2006, 2:59:00 PM (19 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r15561 r15583 1 2006-07-23 Geoffrey Garen <[email protected]> 2 3 Patch by Eric Albert, reviewed by Darin and me. 4 5 - Fixed <rdar://problem/4645931> JavaScriptCore stack-scanning code 6 crashes (Collector::markStackObjectsConservatively) 7 8 * bindings/jni/jni_jsobject.cpp: On 64bit systems, jint is a long, not an 9 int. 10 (JavaJSObject::getSlot): 11 (JavaJSObject::setSlot): 12 * kjs/collector.cpp: 13 (KJS::Collector::markCurrentThreadConservatively): Use a pointer instead of 14 an int as 'dummy,' because on LP64 systems, an int is not pointer-aligned, 15 and we want to scan the stack for pointers. 16 * JavaScriptCore.xcodeproj/project.pbxproj: After a tense cease-fire, the 17 XCode war has started up again! 18 1 19 === Safari-521.20 === 2 20 -
trunk/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
r15501 r15583 1216 1216 isa = PBXProject; 1217 1217 buildConfigurationList = 149C277108902AFE008A9EFC /* Build configuration list for PBXProject "JavaScriptCore" */; 1218 compatibilityVersion = "Xcode 2.4"; 1218 1219 hasScannedForEncodings = 1; 1219 1220 mainGroup = 0867D691FE84028FC02AAC07 /* JavaScriptCore */; 1220 1221 productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; 1221 1222 projectDirPath = ""; 1223 projectRoot = ""; 1224 shouldCheckCompatibility = 1; 1222 1225 targets = ( 1223 1226 932F5B3E0822A1C700736975 /* JavaScriptCore */, -
trunk/JavaScriptCore/bindings/jni/jni_jsobject.cpp
r13468 r15583 245 245 jobject JavaJSObject::getSlot(jint index) const 246 246 { 247 #if __LP64__ 248 JS_LOG ("index = %d\n", index); 249 #else 247 250 JS_LOG ("index = %ld\n", index); 251 #endif 248 252 249 253 ExecState *exec = _root->interpreter()->globalExec(); … … 258 262 void JavaJSObject::setSlot(jint index, jobject value) const 259 263 { 264 #if __LP64__ 265 JS_LOG ("index = %d, value = %p\n", index, value); 266 #else 260 267 JS_LOG ("index = %ld, value = %p\n", index, value); 268 #endif 261 269 262 270 ExecState *exec = _root->interpreter()->globalExec(); -
trunk/JavaScriptCore/kjs/collector.cpp
r14834 r15583 334 334 #endif 335 335 336 intdummy;336 void *dummy; 337 337 void *stackPointer = &dummy; 338 338
Note:
See TracChangeset
for help on using the changeset viewer.