Changeset 95914 in webkit


Ignore:
Timestamp:
Sep 24, 2011 3:36:57 PM (13 years ago)
Author:
ggaren@apple.com
Message:

Some Windows build fixage.

  • heap/MarkedBlock.cpp:

(JSC::MarkedBlock::sweep):

  • heap/MarkedBlock.h:

(JSC::MarkedBlock::isLive): Show the compiler that all control paths
return a value. There, there, compiler. Everything's going to be OK.

  • runtime/JSCell.h:

(JSC::JSCell::setVPtr): Oops! Unrename this function.

Location:
trunk/Source/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r95912 r95914  
     12011-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
    1142011-09-24  Geoffrey Garen  <ggaren@apple.com>
    215
  • trunk/Source/JavaScriptCore/heap/MarkedBlock.cpp

    r95912 r95914  
    135135            : specializedSweep<Zapped, SweepOnly>();
    136136    }
     137
     138    ASSERT_NOT_REACHED();
     139    return 0;
    137140}
    138141
  • trunk/Source/JavaScriptCore/heap/MarkedBlock.h

    r95912 r95914  
    272272            return false;
    273273        }
     274
     275        ASSERT_NOT_REACHED();
     276        return false;
    274277    }
    275278
  • trunk/Source/JavaScriptCore/runtime/JSCell.h

    r95912 r95914  
    9999
    100100        void* vptr() const { ASSERT(!isZapped()); return *reinterpret_cast<void* const*>(this); }
    101         void setVptr(void* vptr) { *reinterpret_cast<void**>(this) = vptr; ASSERT(!isZapped()); }
     101        void setVPtr(void* vptr) { *reinterpret_cast<void**>(this) = vptr; ASSERT(!isZapped()); }
    102102        void zap() { *reinterpret_cast<uintptr_t**>(this) = 0; }
    103103        bool isZapped() const { return !*reinterpret_cast<uintptr_t* const*>(this); }
Note: See TracChangeset for help on using the changeset viewer.