Changeset 20310 in webkit for trunk/JavaScriptCore/kjs/ExecState.h
- Timestamp:
- Mar 18, 2007, 10:43:47 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/ExecState.h
r17372 r20310 27 27 #include "value.h" 28 28 #include "types.h" 29 #include "CommonIdentifiers.h" 29 30 30 31 namespace KJS { … … 76 77 bool hadException() const { return !!m_exception; } 77 78 79 // This is a workaround to avoid accessing the global variables for these identifiers in 80 // important property lookup functions, to avoid taking PIC branches in Mach-O binaries 81 const CommonIdentifiers& propertyNames() const { return *m_propertyNames; } 82 78 83 private: 79 84 ExecState(Interpreter* interp, Context* con) … … 81 86 , m_context(con) 82 87 , m_exception(0) 88 , m_propertyNames(CommonIdentifiers::shared()) 83 89 { 84 90 } … … 86 92 Context* m_context; 87 93 JSValue* m_exception; 94 CommonIdentifiers* m_propertyNames; 88 95 }; 89 96
Note:
See TracChangeset
for help on using the changeset viewer.