Changeset 10076 in webkit for trunk/JavaScriptCore/kjs/interpreter.h
- Timestamp:
- Aug 6, 2005, 11:17:49 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/interpreter.h
r9929 r10076 26 26 #define _KJS_INTERPRETER_H_ 27 27 28 #include "object_wrapper.h" 28 29 #include "value.h" 29 #include "object.h"30 30 #include "types.h" 31 #include "protect.h"32 33 #if APPLE_CHANGES34 35 #include "runtime.h"36 37 #endif38 31 39 32 namespace KJS { … … 41 34 class ContextImp; 42 35 class InterpreterImp; 36 class RuntimeMethodImp; 37 38 namespace Bindings { 39 class RootObject; 40 } 43 41 44 42 /** … … 402 400 virtual bool isSafeScript (const Interpreter *target) { return true; } 403 401 404 virtual void *createLanguageInstanceForValue (ExecState *exec, Bindings::Instance::BindingLanguagelanguage, const Object &value, const Bindings::RootObject *origin, const Bindings::RootObject *current);402 virtual void *createLanguageInstanceForValue (ExecState *exec, int language, const Object &value, const Bindings::RootObject *origin, const Bindings::RootObject *current); 405 403 #endif 404 405 // This is a workaround to avoid accessing the global variables for these identifiers in 406 // important property lookup functions, to avoid taking PIC branches in Mach-O binaries 407 const Identifier& argumentsIdentifier() { return *m_argumentsPropertyName; } 408 const Identifier& specialPrototypeIdentifier() { return *m_specialPrototypePropertyName; } 406 409 407 410 private: 408 411 InterpreterImp *rep; 409 412 413 const Identifier *m_argumentsPropertyName; 414 const Identifier *m_specialPrototypePropertyName; 415 410 416 /** 411 417 * This constructor is not implemented, in order to prevent … … 421 427 */ 422 428 Interpreter operator=(const Interpreter&); 429 423 430 protected: 424 431 virtual void virtual_hook( int id, void* data ); … … 474 481 Interpreter *_interpreter; 475 482 ContextImp *_context; 476 ProtectedValue _exception;483 Value _exception; 477 484 }; 478 485
Note:
See TracChangeset
for help on using the changeset viewer.