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/offlineasm/cloop.rb

    r157937 r159321  
    6969    def clDump
    7070        case name
     71        when "a0"
     72            "a0"
     73        when "a1"
     74            "a1"
     75        when "a2"
     76            "a2"
     77        when "a3"
     78            "a3"
     79        when "a4"
     80            "a4"
     81        when "a5"
     82            "a5"
     83        when "a6"
     84            "a6"
     85        when "a6"
     86            "a6"
    7187        when "t0"
    7288            "t0"
     
    10771093            cloopEmitOpAndBranch(operands, "|", :int32, "!= 0")
    10781094
     1095        when "pushCalleeSaves"
     1096        when "popCalleeSaves"
     1097
     1098
    10791099        # A convenience and compact call to crash because we don't want to use
    10801100        # the generic llint crash mechanism which relies on the availability
Note: See TracChangeset for help on using the changeset viewer.