Changeset 95914 in webkit
- Timestamp:
- Sep 24, 2011 3:36:57 PM (13 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r95912 r95914 1 2011-09-24 Geoffrey Garen <ggaren@apple.com> 2 3 Some Windows build fixage. 4 5 * heap/MarkedBlock.cpp: 6 (JSC::MarkedBlock::sweep): 7 * heap/MarkedBlock.h: 8 (JSC::MarkedBlock::isLive): Show the compiler that all control paths 9 return a value. There, there, compiler. Everything's going to be OK. 10 11 * runtime/JSCell.h: 12 (JSC::JSCell::setVPtr): Oops! Unrename this function. 13 1 14 2011-09-24 Geoffrey Garen <ggaren@apple.com> 2 15 -
trunk/Source/JavaScriptCore/heap/MarkedBlock.cpp
r95912 r95914 135 135 : specializedSweep<Zapped, SweepOnly>(); 136 136 } 137 138 ASSERT_NOT_REACHED(); 139 return 0; 137 140 } 138 141 -
trunk/Source/JavaScriptCore/heap/MarkedBlock.h
r95912 r95914 272 272 return false; 273 273 } 274 275 ASSERT_NOT_REACHED(); 276 return false; 274 277 } 275 278 -
trunk/Source/JavaScriptCore/runtime/JSCell.h
r95912 r95914 99 99 100 100 void* vptr() const { ASSERT(!isZapped()); return *reinterpret_cast<void* const*>(this); } 101 void setV ptr(void* vptr) { *reinterpret_cast<void**>(this) = vptr; ASSERT(!isZapped()); }101 void setVPtr(void* vptr) { *reinterpret_cast<void**>(this) = vptr; ASSERT(!isZapped()); } 102 102 void zap() { *reinterpret_cast<uintptr_t**>(this) = 0; } 103 103 bool isZapped() const { return !*reinterpret_cast<uintptr_t* const*>(this); }
Note: See TracChangeset
for help on using the changeset viewer.