Unreviewed, build fix for Windows
authorysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Mar 2019 07:39:47 +0000 (07:39 +0000)
committerysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Mar 2019 07:39:47 +0000 (07:39 +0000)
https://bugs.webkit.org/show_bug.cgi?id=196122

* runtime/FunctionExecutable.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243367 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/FunctionExecutable.cpp

index 69316df..d5d05fd 100644 (file)
@@ -1,3 +1,10 @@
+2019-03-22  Yusuke Suzuki  <ysuzuki@apple.com>
+
+        Unreviewed, build fix for Windows
+        https://bugs.webkit.org/show_bug.cgi?id=196122
+
+        * runtime/FunctionExecutable.cpp:
+
 2019-03-21  Yusuke Suzuki  <ysuzuki@apple.com>
 
         [JSC] Shrink sizeof(FunctionExecutable) by 16bytes
index b1b77f4..2e85f47 100644 (file)
@@ -42,8 +42,6 @@ namespace JSC {
 
 const ClassInfo FunctionExecutable::s_info = { "FunctionExecutable", &ScriptExecutable::s_info, nullptr, nullptr, CREATE_METHOD_TABLE(FunctionExecutable) };
 
-static_assert(sizeof(FunctionExecutable) <= 128, "FunctionExecutable should fit in a 128-byte cell since it is so frequently allocated.");
-
 FunctionExecutable::FunctionExecutable(VM& vm, const SourceCode& source, UnlinkedFunctionExecutable* unlinkedExecutable, Intrinsic intrinsic)
     : ScriptExecutable(vm.functionExecutableStructure.get(), vm, source, unlinkedExecutable->isInStrictContext(), unlinkedExecutable->derivedContextType(), false, EvalContextType::None, intrinsic)
     , m_unlinkedExecutable(vm, this, unlinkedExecutable)