Changeset 231901 in webkit


Ignore:
Timestamp:
May 17, 2018 9:03:27 AM (6 years ago)
Author:
sbarati@apple.com
Message:

Unreviewed. Try to fix windows build.

  • builtins/BuiltinExecutables.cpp:

(JSC::BuiltinExecutables::defaultConstructorSourceCode):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r231889 r231901  
     12018-05-17  Saam Barati  <sbarati@apple.com>
     2
     3        Unreviewed. Try to fix windows build.
     4
     5        * builtins/BuiltinExecutables.cpp:
     6        (JSC::BuiltinExecutables::defaultConstructorSourceCode):
     7
    182018-05-16  Saam Barati  <sbarati@apple.com>
    29
  • trunk/Source/JavaScriptCore/builtins/BuiltinExecutables.cpp

    r231889 r231901  
    4747    switch (constructorKind) {
    4848    case ConstructorKind::None:
    49         RELEASE_ASSERT_NOT_REACHED();
     49        break;
    5050    case ConstructorKind::Base: {
    5151        static NeverDestroyed<const String> baseConstructorCode(MAKE_STATIC_STRING_IMPL("(function () { })"));
     
    6767    }
    6868    }
     69    RELEASE_ASSERT_NOT_REACHED();
     70    return SourceCode();
    6971}
    7072
Note: See TracChangeset for help on using the changeset viewer.