Changeset 30140 in webkit for trunk/JavaScriptCore
- Timestamp:
- Feb 10, 2008, 11:40:49 PM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r30133 r30140 1 2008-02-10 Darin Adler <[email protected]> 2 3 Rubber stamped by Eric. 4 5 * kjs/ExecState.h: 6 (KJS::ExecState::takeException): Added. 7 1 8 2008-02-10 Darin Adler <[email protected]> 2 9 -
trunk/JavaScriptCore/kjs/ExecState.h
r29810 r30140 59 59 JSGlobalObject* lexicalGlobalObject() const; 60 60 61 void setException(JSValue* e ) { m_exception = e; }61 void setException(JSValue* exception) { m_exception = exception; } 62 62 void clearException() { m_exception = 0; } 63 63 JSValue* exception() const { return m_exception; } 64 64 JSValue** exceptionSlot() { return &m_exception; } 65 65 bool hadException() const { return !!m_exception; } 66 JSValue* takeException() { JSValue* exception = m_exception; m_exception = 0; return exception; } 66 67 67 68 const ScopeChain& scopeChain() const { return m_scopeChain; }
Note:
See TracChangeset
for help on using the changeset viewer.