Changeset 38477 in webkit for trunk/JavaScriptCore/VM/CodeBlock.h


Ignore:
Timestamp:
Nov 16, 2008, 8:25:37 PM (17 years ago)
Author:
[email protected]
Message:

2008-11-16 Geoffrey Garen <[email protected]>

Reviewed by Sam Weinig.

Renamed ENABLE_CTI and ENABLE(CTI) to ENABLE_JIT and ENABLE(JIT).

  • VM/CTI.cpp:
  • VM/CTI.h:
  • VM/CodeBlock.cpp: (JSC::CodeBlock::~CodeBlock):
  • VM/CodeBlock.h: (JSC::CodeBlock::CodeBlock):
  • VM/Machine.cpp: (JSC::Interpreter::Interpreter): (JSC::Interpreter::initialize): (JSC::Interpreter::~Interpreter): (JSC::Interpreter::execute): (JSC::Interpreter::privateExecute):
  • VM/Machine.h:
  • bytecompiler/CodeGenerator.cpp: (JSC::prepareJumpTableForStringSwitch):
  • runtime/JSFunction.cpp: (JSC::JSFunction::~JSFunction):
  • runtime/JSGlobalData.h:
  • wrec/WREC.h:
  • wtf/Platform.h:
  • wtf/TCSystemAlloc.cpp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/CodeBlock.h

    r38440 r38477  
    7474    struct OffsetLocation {
    7575        int32_t branchOffset;
    76 #if ENABLE(CTI)
     76#if ENABLE(JIT)
    7777        void* ctiOffset;
    7878#endif
     
    165165        typedef HashMap<RefPtr<UString::Rep>, OffsetLocation> StringOffsetTable;
    166166        StringOffsetTable offsetTable;
    167 #if ENABLE(CTI)
     167#if ENABLE(JIT)
    168168        void* ctiDefault; // FIXME: it should not be necessary to store this.
    169169#endif
     
    178178        }
    179179
    180 #if ENABLE(CTI)
     180#if ENABLE(JIT)
    181181        inline void* ctiForValue(UString::Rep* value)
    182182        {
     
    194194        Vector<int32_t> branchOffsets;
    195195        int32_t min;
    196 #if ENABLE(CTI)
     196#if ENABLE(JIT)
    197197        Vector<void*> ctiOffsets;
    198198        void* ctiDefault;
     
    206206        }
    207207
    208 #if ENABLE(CTI)
     208#if ENABLE(JIT)
    209209        inline void* ctiForValue(int32_t value)
    210210        {
     
    220220            : ownerNode(ownerNode)
    221221            , globalData(0)
    222 #if ENABLE(CTI)
     222#if ENABLE(JIT)
    223223            , ctiCode(0)
    224224#endif
     
    238238        ~CodeBlock();
    239239
    240 #if ENABLE(CTI)
     240#if ENABLE(JIT)
    241241        void unlinkCallers();
    242242#endif
     
    313313        ScopeNode* ownerNode;
    314314        JSGlobalData* globalData;
    315 #if ENABLE(CTI)
     315#if ENABLE(JIT)
    316316        void* ctiCode;
    317317#endif
     
    355355        Vector<StringJumpTable> stringSwitchJumpTables;
    356356
    357 #if ENABLE(CTI)
     357#if ENABLE(JIT)
    358358        HashMap<void*, unsigned> ctiReturnAddressVPCMap;
    359359#endif
Note: See TracChangeset for help on using the changeset viewer.