Changeset 44088 in webkit for trunk/JavaScriptCore/interpreter
- Timestamp:
- May 23, 2009, 4:08:58 AM (16 years ago)
- Location:
- trunk/JavaScriptCore/interpreter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r44076 r44088 92 92 } 93 93 94 #if USE(INTERPRETER) 94 95 NEVER_INLINE bool Interpreter::resolve(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue) 95 96 { … … 281 282 } 282 283 284 #endif // USE(INTERPRETER) 285 283 286 ALWAYS_INLINE CallFrame* Interpreter::slideRegisterWindowForCall(CodeBlock* newCodeBlock, RegisterFile* registerFile, CallFrame* callFrame, size_t registerOffset, int argc) 284 287 { … … 318 321 } 319 322 323 #if USE(INTERPRETER) 320 324 static NEVER_INLINE bool isInvalidParamForIn(CallFrame* callFrame, CodeBlock* codeBlock, const Instruction* vPC, JSValue value, JSValue& exceptionData) 321 325 { … … 333 337 return true; 334 338 } 339 #endif 335 340 336 341 NEVER_INLINE JSValue Interpreter::callEval(CallFrame* callFrame, RegisterFile* registerFile, Register* argv, int argc, int registerOffset, JSValue& exceptionValue) … … 907 912 } 908 913 } 909 914 915 #if USE(INTERPRETER) 910 916 NEVER_INLINE ScopeChainNode* Interpreter::createExceptionScope(CallFrame* callFrame, const Instruction* vPC) 911 917 { … … 1087 1093 } 1088 1094 1095 #endif // USE(INTERPRETER) 1096 1089 1097 JSValue Interpreter::privateExecute(ExecutionFlag flag, RegisterFile* registerFile, CallFrame* callFrame, JSValue* exception) 1090 1098 { … … 1109 1117 ASSERT_NOT_REACHED(); 1110 1118 #endif 1119 #if !USE(INTERPRETER) 1120 UNUSED_PARAM(registerFile); 1121 UNUSED_PARAM(callFrame); 1122 UNUSED_PARAM(exception); 1123 return JSValue(); 1124 #else 1111 1125 1112 1126 JSGlobalData* globalData = &callFrame->globalData(); … … 3856 3870 } // iterator loop ends 3857 3871 #endif 3872 #endif // USE(INTERPRETER) 3858 3873 #undef NEXT_INSTRUCTION 3859 3874 #undef DEFINE_OPCODE -
trunk/JavaScriptCore/interpreter/Interpreter.h
r43122 r44088 120 120 121 121 NEVER_INLINE void debug(CallFrame*, DebugHookID, int firstLine, int lastLine); 122 122 #if USE(INTERPRETER) 123 123 NEVER_INLINE bool resolve(CallFrame*, Instruction*, JSValue& exceptionValue); 124 124 NEVER_INLINE bool resolveSkip(CallFrame*, Instruction*, JSValue& exceptionValue); … … 126 126 NEVER_INLINE void resolveBase(CallFrame*, Instruction* vPC); 127 127 NEVER_INLINE bool resolveBaseAndProperty(CallFrame*, Instruction*, JSValue& exceptionValue); 128 NEVER_INLINE bool resolveBaseAndFunc(CallFrame*, Instruction*, JSValue& exceptionValue); 128 129 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 129 136 130 137 NEVER_INLINE bool unwindCallFrame(CallFrame*&, JSValue, unsigned& bytecodeOffset, CodeBlock*&); 131 138 NEVER_INLINE HandlerInfo* throwException(CallFrame*&, JSValue&, unsigned bytecodeOffset, bool); 132 NEVER_INLINE bool resolveBaseAndFunc(CallFrame*, Instruction*, JSValue& exceptionValue);133 139 134 140 static ALWAYS_INLINE CallFrame* slideRegisterWindowForCall(CodeBlock*, RegisterFile*, CallFrame*, size_t registerOffset, int argc); … … 140 146 void dumpCallFrame(CallFrame*); 141 147 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);147 148 148 149 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.