Ignore:
Timestamp:
May 23, 2009, 4:08:58 AM (16 years ago)
Author:
[email protected]
Message:

Remove interpreter specific logic from the JIT builds

Reviewed by Maciej Stachowiak.

This saves ~100k in JSC release builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/interpreter/Interpreter.h

    r43122 r44088  
    120120
    121121        NEVER_INLINE void debug(CallFrame*, DebugHookID, int firstLine, int lastLine);
    122 
     122#if USE(INTERPRETER)
    123123        NEVER_INLINE bool resolve(CallFrame*, Instruction*, JSValue& exceptionValue);
    124124        NEVER_INLINE bool resolveSkip(CallFrame*, Instruction*, JSValue& exceptionValue);
     
    126126        NEVER_INLINE void resolveBase(CallFrame*, Instruction* vPC);
    127127        NEVER_INLINE bool resolveBaseAndProperty(CallFrame*, Instruction*, JSValue& exceptionValue);
     128        NEVER_INLINE bool resolveBaseAndFunc(CallFrame*, Instruction*, JSValue& exceptionValue);
    128129        NEVER_INLINE ScopeChainNode* createExceptionScope(CallFrame*, const Instruction* vPC);
     130
     131        void tryCacheGetByID(CallFrame*, CodeBlock*, Instruction*, JSValue baseValue, const Identifier& propertyName, const PropertySlot&);
     132        void uncacheGetByID(CodeBlock*, Instruction* vPC);
     133        void tryCachePutByID(CallFrame*, CodeBlock*, Instruction*, JSValue baseValue, const PutPropertySlot&);
     134        void uncachePutByID(CodeBlock*, Instruction* vPC);       
     135#endif
    129136
    130137        NEVER_INLINE bool unwindCallFrame(CallFrame*&, JSValue, unsigned& bytecodeOffset, CodeBlock*&);
    131138        NEVER_INLINE HandlerInfo* throwException(CallFrame*&, JSValue&, unsigned bytecodeOffset, bool);
    132         NEVER_INLINE bool resolveBaseAndFunc(CallFrame*, Instruction*, JSValue& exceptionValue);
    133139
    134140        static ALWAYS_INLINE CallFrame* slideRegisterWindowForCall(CodeBlock*, RegisterFile*, CallFrame*, size_t registerOffset, int argc);
     
    140146        void dumpCallFrame(CallFrame*);
    141147        void dumpRegisters(CallFrame*);
    142 
    143         void tryCacheGetByID(CallFrame*, CodeBlock*, Instruction*, JSValue baseValue, const Identifier& propertyName, const PropertySlot&);
    144         void uncacheGetByID(CodeBlock*, Instruction* vPC);
    145         void tryCachePutByID(CallFrame*, CodeBlock*, Instruction*, JSValue baseValue, const PutPropertySlot&);
    146         void uncachePutByID(CodeBlock*, Instruction* vPC);
    147148       
    148149        bool isCallBytecode(Opcode opcode) { return opcode == getOpcode(op_call) || opcode == getOpcode(op_construct) || opcode == getOpcode(op_call_eval); }
Note: See TracChangeset for help on using the changeset viewer.