Changeset 265159 in webkit


Ignore:
Timestamp:
Jul 31, 2020 2:02:16 PM (4 years ago)
Author:
keith_miller@apple.com
Message:

Move Options setter to where we allow access to the Options object
https://bugs.webkit.org/show_bug.cgi?id=215028

Reviewed by Saam Barati.

Right now jsc CLI crashes when assertions are enabled on iOS.

  • jsc.cpp:

(main):
(CommandLine::parseArguments):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r265154 r265159  
     12020-07-31  Keith Miller  <keith_miller@apple.com>
     2
     3        Move Options setter to where we allow access to the Options object
     4        https://bugs.webkit.org/show_bug.cgi?id=215028
     5
     6        Reviewed by Saam Barati.
     7
     8        Right now jsc CLI crashes when assertions are enabled on iOS.
     9
     10        * jsc.cpp:
     11        (main):
     12        (CommandLine::parseArguments):
     13
    1142020-07-31  Saam Barati  <sbarati@apple.com>
    215
  • trunk/Source/JavaScriptCore/jsc.cpp

    r264991 r265159  
    26762676    WTF::initialize();
    26772677
    2678 #if PLATFORM(IOS_FAMILY)
    2679     Options::crashIfCantAllocateJITMemory() = true;
    2680 #endif
    2681 
    26822678    // We can't use destructors in the following code because it uses Windows
    26832679    // Structured Exception Handling
     
    30253021    Options::initialize();
    30263022   
     3023#if PLATFORM(IOS_FAMILY)
     3024    Options::crashIfCantAllocateJITMemory() = true;
     3025#endif
     3026
    30273027    if (Options::dumpOptions()) {
    30283028        printf("Command line:");
Note: See TracChangeset for help on using the changeset viewer.