RESOLVED FIXED Bug 78308
The JS Parser scope object needs a VectorTrait specialization
https://bugs.webkit.org/show_bug.cgi?id=78308
Summary The JS Parser scope object needs a VectorTrait specialization
Oliver Hunt
Reported 2012-02-09 18:13:31 PST
The JS Parser scope object needs a VectorTrait specialization
Attachments
Patch (5.95 KB, patch)
2012-02-09 18:16 PST, Oliver Hunt
barraclough: review+
Oliver Hunt
Comment 1 2012-02-09 18:16:22 PST
Gavin Barraclough
Comment 2 2012-02-09 18:20:13 PST
Comment on attachment 126421 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=126421&action=review > Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp:418 > + if (1) { Oooops, you probably want to remove that. > Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp:1227 > + if (JSActivation* activation = jsDynamicCast<JSActivation*>(currentVariableObject)) Will this if be optimized out in release builds? – I'd prefer to see: ASSERT(!jsDynamicCast<JSActivation*>(currentVariableObject) || jsDynamicCast<JSActivation*>(currentVariableObject)->isValidScopedLookup(entry.getIndex()));
Oliver Hunt
Comment 3 2012-02-09 18:26:34 PST
Geoffrey Garen
Comment 4 2012-02-10 10:37:04 PST
Note You need to log in before you can comment on or make changes to this bug.