Ignore:
Timestamp:
Dec 10, 2008, 1:33:18 PM (16 years ago)
Author:
[email protected]
Message:

2008-12-10 Sam Weinig <[email protected]>

Fix non-JIT builds.

  • bytecode/CodeBlock.h:
File:
1 edited

Legend:

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

    r39182 r39184  
    110110    };
    111111
     112#if ENABLE(JIT)
    112113    struct PC {
    113114        PC(void* nativePC, unsigned bytecodeIndex)
     
    120121        unsigned bytecodeIndex;
    121122    };
    122 
     123#endif
    123124
    124125    // valueAtPosition helpers for the binaryChop algorithm below.
     
    134135    }
    135136
     137#if ENABLE(JIT)
    136138    inline void* getNativePC(PC* pc)
    137139    {
    138140        return pc->nativePC;
    139141    }
     142#endif
    140143
    141144    // Binary chop algorithm, calls valueAtPosition on pre-sorted elements in array,
     
    255258        }
    256259
     260#if ENABLE(JIT)
    257261        unsigned getBytecodeIndex(void* nativePC)
    258262        {
    259263            return binaryChop<PC, void*, getNativePC>(m_pcVector.begin(), m_pcVector.size(), nativePC)->bytecodeIndex;
    260264        }
     265#endif
    261266
    262267        Vector<Instruction>& instructions() { return m_instructions; }
Note: See TracChangeset for help on using the changeset viewer.