Summary: | Deconstructed parameters aren't being placed in the correct scope | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Oliver Hunt <oliver> | ||||
Component: | New Bugs | Assignee: | Oliver Hunt <oliver> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Oliver Hunt
2014-02-03 14:25:40 PST
Created attachment 223019 [details]
Patch
Comment on attachment 223019 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=223019&action=review > Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp:67 > + for (size_t i = 0; i < m_deconstructedParameters.size(); i++) { > + auto& entry = m_deconstructedParameters[i]; I would use range-for here and elsewhere. Committed r163328: <http://trac.webkit.org/changeset/163328> |