Changeset 25296 in webkit


Ignore:
Timestamp:
Aug 29, 2007 10:35:50 AM (17 years ago)
Author:
bdash
Message:

2007-08-29 Ryan Leavengood <leavengood@gmail.com>

Reviewed by Maciej.

http://bugs.webkit.org/show_bug.cgi?id=15043

  • posix_memalign takes a void as its first parameter. My port makes use of this function call.
  • kjs/collector.cpp: (KJS::allocateBlock):
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r25258 r25296  
     12007-08-29  Ryan Leavengood <leavengood@gmail.com>
     2
     3        Reviewed by Maciej.
     4
     5        http://bugs.webkit.org/show_bug.cgi?id=15043
     6        - posix_memalign takes a void** as its first parameter. My port makes use of this function call.
     7
     8        * kjs/collector.cpp:
     9        (KJS::allocateBlock):
     10
    1112007-08-26  Darin Adler  <darin@apple.com>
    212
  • trunk/JavaScriptCore/kjs/collector.cpp

    r24874 r25296  
    110110#elif HAVE(POSIX_MEMALIGN)
    111111    void* address;
    112     posix_memalign(address, BLOCK_SIZE, BLOCK_SIZE);
    113     memset(reinterpret_cast<void*>(address), 0, BLOCK_SIZE);
     112    posix_memalign(&address, BLOCK_SIZE, BLOCK_SIZE);
     113    memset(address, 0, BLOCK_SIZE);
    114114#else
    115115    static size_t pagesize = getpagesize();
Note: See TracChangeset for help on using the changeset viewer.