Changeset 61778 in webkit for trunk/JavaScriptCore
- Timestamp:
- Jun 24, 2010, 11:28:06 AM (15 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r61763 r61778 1 2010-06-21 Nathan Lawrence <[email protected]> 2 3 Reviewed by Geoff Garen. 4 5 https://bugs.webkit.org/show_bug.cgi?id=40128 6 Fixed broken debug functionality. 7 8 * interpreter/Interpreter.cpp: 9 (JSC::Interpreter::dumpRegisters): 10 Fixed to work with updated call frame. 11 * runtime/JSImmediate.h: 12 (JSC::JSValue::isCell): 13 Added assert for aligned cell. 14 * runtime/JSValue.cpp: 15 (JSC::JSValue::description): 16 Fixed to work with current JSValue implementation. 17 * runtime/JSZombie.cpp: 18 (JSC::JSZombie::leakedZombieStructure): 19 JSombies compile again. 20 1 21 2010-06-24 Leandro Pereira <[email protected]> 2 22 -
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r61588 r61778 457 457 printf("[CallerRegisters] | %10p | %d \n", it, (*it).i()); ++it; 458 458 printf("[ReturnPC] | %10p | %p \n", it, (*it).vPC()); ++it; 459 ++it;460 459 printf("[ArgumentCount] | %10p | %d \n", it, (*it).i()); ++it; 461 460 printf("[Callee] | %10p | %p \n", it, (*it).function()); ++it; -
trunk/JavaScriptCore/runtime/JSImmediate.h
r58286 r61778 44 44 class JSObject; 45 45 class UString; 46 47 extern const size_t CELL_MASK; 46 48 47 49 #if USE(JSVALUE64) … … 596 598 inline bool JSValue::isCell() const 597 599 { 600 #ifndef NDEBUG 601 bool r = !JSImmediate::isImmediate(asValue()); 602 ASSERT(!r || !(JSImmediate::rawValue(asValue()) & CELL_MASK)); 603 return r; 604 #else 598 605 return !JSImmediate::isImmediate(asValue()); 606 #endif 599 607 } 600 608 -
trunk/JavaScriptCore/runtime/JSValue.cpp
r60762 r61778 127 127 else if (isNull()) 128 128 snprintf(description, size, "Null"); 129 else { 130 ASSERT(isUndefined()); 129 else if (isUndefined()) 131 130 snprintf(description, size, "Undefined"); 132 } 131 else 132 snprintf(description, size, "INVALID"); 133 133 134 134 return description; -
trunk/JavaScriptCore/runtime/JSZombie.cpp
r51625 r61778 38 38 if (!structure) { 39 39 Structure::startIgnoringLeaks(); 40 structure = Structure::create(jsNull(), TypeInfo(UnspecifiedType) ).releaseRef();40 structure = Structure::create(jsNull(), TypeInfo(UnspecifiedType), 0).releaseRef(); 41 41 Structure::stopIgnoringLeaks(); 42 42 }
Note:
See TracChangeset
for help on using the changeset viewer.