Changeset 39910 in webkit for trunk/JavaScriptCore/ChangeLog
- Timestamp:
- Jan 14, 2009, 2:14:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r39908 r39910 1 2009-01-14 Oliver Hunt <[email protected]> 2 3 Reviewed by Cameron Zwarich. 4 5 Bug 22903: REGRESSION (r36267): visiting this site reliably crashes WebKit nightly 6 7 EvalCodeBlock's do not reference the functions that are declared inside the eval 8 code, this means that simply marking the EvalCodeBlock through the global object 9 is insufficient to mark the declared functions. This patch corrects this by 10 explicitly marking the CodeBlocks of all the functions declared in the cached 11 EvalNode. 12 13 * bytecode/CodeBlock.cpp: 14 (JSC::CodeBlock::mark): 15 * bytecode/CodeBlock.h: 16 (JSC::CodeBlock::hasFunctions): 17 * bytecode/EvalCodeCache.h: 18 (JSC::EvalCodeCache::mark): 19 * parser/Nodes.cpp: 20 (JSC::ScopeNodeData::mark): 21 (JSC::EvalNode::mark): 22 * parser/Nodes.h: 23 1 24 2009-01-14 Dmitry Titov <[email protected]> 2 25
Note:
See TracChangeset
for help on using the changeset viewer.