<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>123908</bug_id>
          
          <creation_ts>2013-11-06 11:44:24 -0800</creation_ts>
          <short_desc>LLInt (no JIT) doesn&apos;t build in JITExceptions.cpp</short_desc>
          <delta_ts>2013-11-20 10:17:59 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>123844</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ralph T">ralpht+bugs</reporter>
          <assigned_to name="Michael Saboff">msaboff</assigned_to>
          <cc>msaboff</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>947814</commentid>
    <comment_count>0</comment_count>
    <who name="Ralph T">ralpht+bugs</who>
    <bug_when>2013-11-06 11:44:24 -0800</bug_when>
    <thetext>FAILED: /usr/bin/c++ ... Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/jit/JITExceptions.cpp.o -MF &quot;Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/jit/JITExceptions.cpp.o.d&quot; -o Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/jit/JITExceptions.cpp.o -c ../../Source/JavaScriptCore/jit/JITExceptions.cpp
../../Source/JavaScriptCore/jit/JITExceptions.cpp: In function ‘void JSC::genericUnwind(JSC::VM*, JSC::ExecState*, JSC::JSValue)’:
../../Source/JavaScriptCore/jit/JITExceptions.cpp:52:28: error: ‘class JSC::VM’ has no member named ‘getCTIStub’
         catchRoutine = vm-&gt;getCTIStub(throwNotCaught).code().executableAddress();
                            ^
../../Source/JavaScriptCore/jit/JITExceptions.cpp:52:39: error: ‘throwNotCaught’ was not declared in this scope
         catchRoutine = vm-&gt;getCTIStub(throwNotCaught).code().executableAddress();
                                       ^
ninja: build stopped: subcommand failed.

This was caused by https://bugs.webkit.org/show_bug.cgi?id=123844 committed in r158751.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>947816</commentid>
    <comment_count>1</comment_count>
    <who name="Ralph T">ralpht+bugs</who>
    <bug_when>2013-11-06 11:50:06 -0800</bug_when>
    <thetext>FWIW this allows LLInt to build, no idea if it runs yet or if it&apos;s the direction you want to go in, though:

diff --git a/Source/JavaScriptCore/jit/JITExceptions.cpp b/Source/JavaScriptCore/jit/JITExceptions.cpp
index 510f3b1..bac5315 100644
--- a/Source/JavaScriptCore/jit/JITExceptions.cpp
+++ b/Source/JavaScriptCore/jit/JITExceptions.cpp
@@ -48,8 +48,13 @@ void genericUnwind(VM* vm, ExecState* callFrame, JSValue exceptionValue)
     if (handler) {
         catchPCForInterpreter = &amp;callFrame-&gt;codeBlock()-&gt;instructions()[handler-&gt;target];
         catchRoutine = ExecutableBase::catchRoutineFor(handler, catchPCForInterpreter);
-    } else
+    } else {
+#if ENABLE(JIT)
         catchRoutine = vm-&gt;getCTIStub(throwNotCaught).code().executableAddress();
+#else
+        catchRoutine = FunctionPtr(LLInt::getCodePtr(ctiOpThrowNotCaught)).value();
+#endif
+    }
     
     vm-&gt;callFrameForThrow = callFrame;
     vm-&gt;targetMachinePCForThrow = catchRoutine;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>952657</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2013-11-20 10:17:59 -0800</bug_when>
    <thetext>Fixed as a result of the changes in https://bugs.webkit.org/show_bug.cgi?id=123844 - &quot;Change ctiTrampoline into a thunk&quot; with change set r158751: &lt;http://trac.webkit.org/changeset/158751&gt;.

*** This bug has been marked as a duplicate of bug 123844 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>