Unreviewed Cloop build fix after bug: https://bugs.webkit.org/show_bug.cgi?id=149601
authorsbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Oct 2015 20:24:25 +0000 (20:24 +0000)
committersbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Oct 2015 20:24:25 +0000 (20:24 +0000)
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::newExceptionHandlingCallSiteIndex):
* jit/JITCode.cpp:
(JSC::NativeJITCode::addressForCall):
(JSC::JITCode::liveRegistersToPreserveAtExceptionHandlingCallSite):
* jit/JITCode.h:

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/bytecode/CodeBlock.cpp
Source/JavaScriptCore/jit/JITCode.cpp
Source/JavaScriptCore/jit/JITCode.h

index 1b5b93b..59df925 100644 (file)
@@ -1,3 +1,14 @@
+2015-10-08  Saam barati  <sbarati@apple.com>
+
+        Unreviewed Cloop build fix after bug: https://bugs.webkit.org/show_bug.cgi?id=149601
+
+        * bytecode/CodeBlock.cpp:
+        (JSC::CodeBlock::newExceptionHandlingCallSiteIndex):
+        * jit/JITCode.cpp:
+        (JSC::NativeJITCode::addressForCall):
+        (JSC::JITCode::liveRegistersToPreserveAtExceptionHandlingCallSite):
+        * jit/JITCode.h:
+
 2015-10-08  Joseph Pecoraro  <pecoraro@apple.com>
 
         Clean up Marked classes
index 8e44b77..ada6f15 100644 (file)
@@ -2996,6 +2996,7 @@ CallSiteIndex CodeBlock::newExceptionHandlingCallSiteIndex(CallSiteIndex origina
 #else
     // We never create new on-the-fly exception handling
     // call sites outside the DFG/FTL inline caches.
+    UNUSED_PARAM(originalCallSite);
     RELEASE_ASSERT_NOT_REACHED();
     return CallSiteIndex(0);
 #endif
index bf06d17..852b0ee 100644 (file)
@@ -218,10 +218,12 @@ JITCode::CodePtr NativeJITCode::addressForCall(ArityCheckMode)
     return m_ref.code();
 }
 
+#if ENABLE(JIT)
 RegisterSet JITCode::liveRegistersToPreserveAtExceptionHandlingCallSite(CodeBlock*, CallSiteIndex)
 {
     return RegisterSet();
 }
+#endif
 
 } // namespace JSC
 
index fca3c04..06ae64e 100644 (file)
@@ -194,7 +194,9 @@ public:
     
     virtual bool contains(void*) = 0;
 
+#if ENABLE(JIT)
     virtual RegisterSet liveRegistersToPreserveAtExceptionHandlingCallSite(CodeBlock*, CallSiteIndex);
+#endif
 
 private:
     JITType m_jitType;