Ignore:
Timestamp:
Jan 29, 2011, 2:17:43 PM (15 years ago)
Author:
[email protected]
Message:

2011-01-29 Daniel Bates <[email protected]>

Reviewed by Eric Seidel.

Move wince/mt19937ar.c to ThirdParty and make it a policy choice
https://bugs.webkit.org/show_bug.cgi?id=53253

Move implementation of Mersenne Twister pseudorandom number generator to
ThirdParty since it is a third party library.

  • Source/ThirdParty/mt19937ar.c: Copied from Source/JavaScriptCore/wtf/wince/mt19937ar.c.

2011-01-29 Daniel Bates <[email protected]>

Reviewed by Eric Seidel.

Move wince/mt19937ar.c to ThirdParty and make it a policy choice
https://bugs.webkit.org/show_bug.cgi?id=53253

Make inclusion of MT19937 a policy decision.

Currently, we hardcoded to use MT19937 when building for
Windows CE. Instead, we should make this a policy decision
with the Windows CE port using this by default.

  • JavaScriptCore.pri: Append Source/ThirdParty to the end of the list include directories.
  • wtf/CMakeLists.txt: Ditto.
  • wtf/Platform.h: Defined WTF_USE_MERSENNE_TWISTER_19937 when building for Windows CE.
  • wtf/RandomNumber.cpp: (WTF::randomNumber): Substituted USE(MERSENNE_TWISTER_19937) for OS(WINCE).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r77067 r77070  
     12011-01-29  Daniel Bates  <[email protected]>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Move wince/mt19937ar.c to ThirdParty and make it a policy choice
     6        https://bugs.webkit.org/show_bug.cgi?id=53253
     7
     8        Make inclusion of MT19937 a policy decision.
     9
     10        Currently, we hardcoded to  use MT19937 when building for
     11        Windows CE. Instead, we should make this a policy decision
     12        with the Windows CE port using this by default.
     13
     14        * JavaScriptCore.pri: Append Source/ThirdParty to the end
     15        of the list include directories.
     16        * wtf/CMakeLists.txt: Ditto.
     17        * wtf/Platform.h: Defined WTF_USE_MERSENNE_TWISTER_19937 when
     18        building for Windows CE.
     19        * wtf/RandomNumber.cpp:
     20        (WTF::randomNumber): Substituted USE(MERSENNE_TWISTER_19937) for OS(WINCE).
     21
    1222011-01-29  Cameron Zwarich  <[email protected]>
    223
Note: See TracChangeset for help on using the changeset viewer.