Changeset 6347 in webkit for trunk/JavaScriptCore/kjs/function_object.cpp
- Timestamp:
- Apr 9, 2004, 1:07:47 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/function_object.cpp
r5618 r6347 122 122 Object applyThis; 123 123 if (thisArg.isA(NullType) || thisArg.isA(UndefinedType)) 124 applyThis = exec-> interpreter()->globalObject();124 applyThis = exec->dynamicInterpreter()->globalObject(); 125 125 else 126 126 applyThis = thisArg.toObject(exec); … … 158 158 Object callThis; 159 159 if (thisArg.isA(NullType) || thisArg.isA(UndefinedType)) 160 callThis = exec-> interpreter()->globalObject();160 callThis = exec->dynamicInterpreter()->globalObject(); 161 161 else 162 162 callThis = thisArg.toObject(exec); … … 215 215 216 216 // notify debugger that source has been parsed 217 Debugger *dbg = exec-> interpreter()->imp()->debugger();217 Debugger *dbg = exec->dynamicInterpreter()->imp()->debugger(); 218 218 if (dbg) { 219 219 bool cont = dbg->sourceParsed(exec,sid,body,errLine); … … 234 234 235 235 ScopeChain scopeChain; 236 scopeChain.push(exec-> interpreter()->globalObject().imp());236 scopeChain.push(exec->dynamicInterpreter()->globalObject().imp()); 237 237 FunctionBodyNode *bodyNode = progNode; 238 238 … … 279 279 List consArgs; 280 280 281 Object objCons = exec-> interpreter()->builtinObject();281 Object objCons = exec->lexicalInterpreter()->builtinObject(); 282 282 Object prototype = objCons.construct(exec,List::empty()); 283 283 prototype.put(exec, constructorPropertyName, Value(fimp), DontEnum|DontDelete|ReadOnly);
Note:
See TracChangeset
for help on using the changeset viewer.