Changeset 33328
- Timestamp:
- 05/12/08 23:03:33 (6 months ago)
- Location:
- branches/squirrelfish/JavaScriptCore
- Files:
-
- 2 modified
-
ChangeLog (modified) (1 diff)
-
VM/Machine.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/squirrelfish/JavaScriptCore/ChangeLog
r33327 r33328 1 2008-05-03 Geoffrey Garen <ggaren@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 Fixed https://bugs.webkit.org/show_bug.cgi?id=18876 6 Squirrelfish: ScopeChainNode leak in op_jmp_scopes. 7 8 SunSpider reports no change. 9 10 * VM/Machine.cpp: 11 (KJS::Machine::privateExecute): Don't construct a ScopeChain object, 12 since the direct threaded interpreter will goto across its destructor. 13 1 14 2008-05-03 Geoffrey Garen <ggaren@apple.com> 2 15 -
branches/squirrelfish/JavaScriptCore/VM/Machine.cpp
r33327 r33328 1655 1655 int scopeDelta = (++vPC)->u.operand; 1656 1656 int offset = (++vPC)->u.operand; 1657 ScopeChain sc(scopeChain);1658 1657 while (scopeDelta--) 1659 sc.pop(); 1660 scopeChain = sc.node(); 1658 scopeChain = scopeChain->pop(); 1661 1659 vPC += offset; 1662 1660 NEXT_OPCODE;