Changeset 35651 in webkit for trunk/JavaScriptCore
- Timestamp:
- Aug 8, 2008, 8:56:46 PM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r35644 r35651 1 2008-08-08 Cameron Zwarich <[email protected]> 2 3 Reviewed by Oliver. 4 5 Bug 20330: JSCore crash loading any filehurricane media page 6 <https://bugs.webkit.org/show_bug.cgi?id=20330> 7 8 Fix a typo in the constant loading patch. Also, add a case for 9 op_unexpected_load to CodeBlock::dump(). 10 11 * VM/CodeBlock.cpp: 12 (KJS::CodeBlock::dump): 13 * VM/CodeGenerator.cpp: 14 (KJS::CodeGenerator::addUnexpectedConstant): 15 1 16 2008-08-08 Matt Lilek <[email protected]> 2 17 -
trunk/JavaScriptCore/VM/CodeBlock.cpp
r35593 r35651 260 260 int location = it - begin; 261 261 switch (exec->machine()->getOpcodeID(it->u.opcode)) { 262 case op_unexpected_load: { 263 int r0 = (++it)->u.operand; 264 int k0 = (++it)->u.operand; 265 printf("[%4d] unexpected_load\t %s, %s\n", location, registerName(r0).c_str(), constantName(exec, k0, unexpectedConstants[k0]).c_str()); 266 break; 267 } 262 268 case op_new_object: { 263 269 int r0 = (++it)->u.operand; -
trunk/JavaScriptCore/VM/CodeGenerator.cpp
r35593 r35651 541 541 unsigned CodeGenerator::addUnexpectedConstant(JSValue* v) 542 542 { 543 int index = m_codeBlock-> regexps.size();543 int index = m_codeBlock->unexpectedConstants.size(); 544 544 m_codeBlock->unexpectedConstants.append(v); 545 545 return index;
Note:
See TracChangeset
for help on using the changeset viewer.