Changeset 18461 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Dec 28, 2006, 5:44:28 PM (18 years ago)
- Location:
- trunk/JavaScriptCore/kjs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/interpreter.cpp
r17945 r18461 693 693 } 694 694 695 void *Interpreter::createLanguageInstanceForValue(ExecState *exec, int language, JSObject *value, const Bindings::RootObject *origin, const Bindings::RootObject *current)696 {697 return Bindings::Instance::createLanguageInstanceForValue (exec, (Bindings::Instance::BindingLanguage)language, value, origin, current);698 }699 700 695 void Interpreter::saveBuiltins (SavedBuiltins& builtins) const 701 696 { -
trunk/JavaScriptCore/kjs/interpreter.h
r15990 r18461 39 39 class TimeoutChecker; 40 40 41 namespace Bindings {42 class RootObject;43 }44 45 41 /** 46 42 * Interpreter objects can be used to evaluate ECMAScript code. Each … … 258 254 virtual void mark(bool currentThreadIsMainThread); 259 255 260 /**261 * Provides a way to distinguish derived classes.262 * Only useful if you reimplement Interpreter and if different kind of263 * interpreters are created in the same process.264 * The base class returns 0, the ECMA-bindings interpreter returns 1.265 */266 virtual int rtti() { return 0; }267 268 256 #ifdef KJS_DEBUG_MEM 269 257 /** … … 305 293 virtual bool isSafeScript(const Interpreter*) { return true; } 306 294 307 virtual void *createLanguageInstanceForValue(ExecState*, int language, JSObject* value, const Bindings::RootObject* origin, const Bindings::RootObject* current);308 309 295 // This is a workaround to avoid accessing the global variables for these identifiers in 310 296 // important property lookup functions, to avoid taking PIC branches in Mach-O binaries
Note:
See TracChangeset
for help on using the changeset viewer.