The JS Parser scope object needs a VectorTrait specialization
Created attachment 126421 [details] Patch
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()));
Committed r107338: <http://trac.webkit.org/changeset/107338>
<rdar://problem/10734517>