Fix the !ENABLE(DFG_JIT) build after r190735
authorossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Dec 2015 18:08:27 +0000 (18:08 +0000)
committerossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Dec 2015 18:08:27 +0000 (18:08 +0000)
https://bugs.webkit.org/show_bug.cgi?id=151617

Reviewed by Filip Pizlo.

* jit/GCAwareJITStubRoutine.cpp:
(JSC::GCAwareJITStubRoutineWithExceptionHandler::observeZeroRefCount):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/jit/GCAwareJITStubRoutine.cpp

index 5e37ef4..a0c26ec 100644 (file)
@@ -1,5 +1,15 @@
 2015-12-04  Csaba Osztrogon√°c  <ossy@webkit.org>
 
+        Fix the !ENABLE(DFG_JIT) build after r190735
+        https://bugs.webkit.org/show_bug.cgi?id=151617
+
+        Reviewed by Filip Pizlo.
+
+        * jit/GCAwareJITStubRoutine.cpp:
+        (JSC::GCAwareJITStubRoutineWithExceptionHandler::observeZeroRefCount):
+
+2015-12-04  Csaba Osztrogon√°c  <ossy@webkit.org>
+
         [cmake] Fix the B3 build after r192946
         https://bugs.webkit.org/show_bug.cgi?id=151857
 
index c9e592c..60c0c55 100644 (file)
@@ -115,11 +115,13 @@ void GCAwareJITStubRoutineWithExceptionHandler::aboutToDie()
 
 void GCAwareJITStubRoutineWithExceptionHandler::observeZeroRefCount()
 {
+#if ENABLE(DFG_JIT)
     if (m_codeBlockWithExceptionHandler) {
         m_codeBlockWithExceptionHandler->jitCode()->dfgCommon()->removeCallSiteIndex(m_exceptionHandlerCallSiteIndex);
         m_codeBlockWithExceptionHandler->removeExceptionHandlerForCallSite(m_exceptionHandlerCallSiteIndex);
         m_codeBlockWithExceptionHandler = nullptr;
     }
+#endif
 
     Base::observeZeroRefCount();
 }