Changeset 62551 in webkit for trunk/JavaScriptCore/bytecode/CodeBlock.h
- Timestamp:
- Jul 6, 2010, 9:14:44 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/CodeBlock.h
r61743 r62551 1 1 /* 2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved.2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. 3 3 * Copyright (C) 2008 Cameron Zwarich <[email protected]> 4 4 * … … 40 40 #include "UString.h" 41 41 #include <wtf/FastAllocBase.h> 42 #include <wtf/PassOwnPtr.h> 42 43 #include <wtf/RefPtr.h> 43 44 #include <wtf/Vector.h> … … 447 448 bool hasExceptionInfo() const { return m_exceptionInfo; } 448 449 void clearExceptionInfo() { m_exceptionInfo.clear(); } 449 ExceptionInfo* extractExceptionInfo() { ASSERT(m_exceptionInfo); return m_exceptionInfo.release(); }450 PassOwnPtr<ExceptionInfo> extractExceptionInfo(); 450 451 451 452 void addExpressionInfo(const ExpressionRangeInfo& expressionInfo) { ASSERT(m_exceptionInfo); m_exceptionInfo->m_expressionInfo.append(expressionInfo); } … … 666 667 }; 667 668 669 inline PassOwnPtr<ExceptionInfo> CodeBlock::extractExceptionInfo() 670 { 671 ASSERT(m_exceptionInfo); 672 return m_exceptionInfo.release(); 673 } 674 668 675 inline Register& ExecState::r(int index) 669 676 {
Note:
See TracChangeset
for help on using the changeset viewer.