Fix Windows build after r240511
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Jan 2019 23:44:27 +0000 (23:44 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Jan 2019 23:44:27 +0000 (23:44 +0000)
* bytecode/UnlinkedFunctionExecutable.cpp:
(JSC::UnlinkedFunctionExecutable::unlinkedCodeBlockFor):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/bytecode/UnlinkedFunctionExecutable.cpp

index 9f3c1f4..062ca8e 100644 (file)
@@ -1,3 +1,10 @@
+2019-01-25  Alex Christensen  <achristensen@webkit.org>
+
+        Fix Windows build after r240511
+
+        * bytecode/UnlinkedFunctionExecutable.cpp:
+        (JSC::UnlinkedFunctionExecutable::unlinkedCodeBlockFor):
+
 2019-01-25  Keith Rollin  <krollin@apple.com>
 
         Update Xcode projects with "Apply Configuration to XCFileLists" build target
index e8dc198..7b29fc3 100644 (file)
@@ -202,6 +202,8 @@ UnlinkedFunctionCodeBlock* UnlinkedFunctionExecutable::unlinkedCodeBlockFor(Code
     case CodeForConstruct:
         return m_unlinkedCodeBlockForConstruct.get();
     }
+    ASSERT_NOT_REACHED();
+    return nullptr;
 }
 
 UnlinkedFunctionCodeBlock* UnlinkedFunctionExecutable::unlinkedCodeBlockFor(