Changeset 47842 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Aug 27, 2009, 4:35:56 PM (16 years ago)
Author:
[email protected]
Message:

Fix Windows-specific crash due to missing memory clearing call.

Reviewed by Geoff Garen.

  • runtime/Collector.cpp:

(JSC::Heap::allocateBlock):

Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r47838 r47842  
     12009-08-27  Steve Falkenburg  <[email protected]>
     2
     3        Reviewed by Geoff Garen.
     4       
     5        Fix Windows-specific crash due to missing memory clearing call.
     6       
     7        * runtime/Collector.cpp:
     8        (JSC::Heap::allocateBlock):
     9
    1102009-08-27  Brent Fulgham  <[email protected]>
    211
  • trunk/JavaScriptCore/runtime/Collector.cpp

    r47799 r47842  
    239239#elif PLATFORM(WIN_OS)
    240240    void* address = _aligned_malloc(BLOCK_SIZE, BLOCK_SIZE);
     241    memset(address, 0, BLOCK_SIZE);
    241242#elif HAVE(POSIX_MEMALIGN)
    242243    void* address;
Note: See TracChangeset for help on using the changeset viewer.