Ignore:
Timestamp:
Nov 14, 2013, 4:12:51 PM (12 years ago)
Author:
[email protected]
Message:

Make CLoop easier to build, and make it work
https://bugs.webkit.org/show_bug.cgi?id=124359

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

Add --cloop to build-jsc, build-webkit and friends.

Also make CLoop build and work again - This meant adding a
couple of missing ENABLE(DFG_JIT) blocks, and fixing a few
other references.

  • Configurations/FeatureDefines.xcconfig:
  • bytecode/BytecodeLivenessAnalysis.cpp:

(JSC::computeUsesForBytecodeOffset):
(JSC::computeDefsForBytecodeOffset):

  • bytecode/DFGExitProfile.cpp:
  • dfg/DFGCapabilities.cpp:
  • dfg/DFGCompilationKey.cpp:
  • dfg/DFGCompilationMode.cpp:
  • jit/JITExceptions.cpp:

(JSC::genericUnwind):

Source/WebCore:

Add cloop configuration info to WebCore FeatureDefines
so that it's consistent with JSC

  • Configurations/FeatureDefines.xcconfig:

Source/WTF:

Make building with the CLoop forcibly enabled manually
disable the JITs

  • wtf/Platform.h:

Tools:

Add --cloop support to forcibly enable to CLoop build

  • Scripts/build-jsc:
  • Scripts/build-webkit:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JITExceptions.cpp

    r159276 r159321  
    3333#include "JITStubs.h"
    3434#include "JSCJSValue.h"
     35#include "LLIntData.h"
     36#include "LLIntOpcode.h"
    3537#include "LLIntThunks.h"
     38#include "Opcode.h"
     39#include "Operations.h"
    3640#include "VM.h"
    37 #include "Operations.h"
    3841
    3942#if ENABLE(JIT) || ENABLE(LLINT)
     
    5154        catchPCForInterpreter = &callFrame->codeBlock()->instructions()[handler->target];
    5255        catchRoutine = ExecutableBase::catchRoutineFor(handler, catchPCForInterpreter);
    53     } else
     56    } else {
     57#if ENABLE(LLINT_C_LOOP)
     58        catchRoutine = LLInt::getCodePtr(ctiOpThrowNotCaught);
     59#else
    5460        catchRoutine = FunctionPtr(LLInt::getCodePtr(returnFromJavaScript)).value();
     61#endif
     62    }
    5563   
    5664    vm->callFrameForThrow = callFrame;
Note: See TracChangeset for help on using the changeset viewer.