[Webkit-unassigned] [Bug 167962] [ESnext] Implement Object Rest - Implementing Object Rest Destructuring

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 22 19:50:02 PST 2017


--- Comment #17 from Caio Lima <ticaiolima at gmail.com> ---
Comment on attachment 301324
  --> https://bugs.webkit.org/attachment.cgi?id=301324

View in context: https://bugs.webkit.org/attachment.cgi?id=301324&action=review

>> Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:4051
>> +                generator.emitInc(excludedIndex.get());
> Don't we statically know what we are going to put in the excludedList at this point? Can we just add this array to the constant pool? If we do, we should probably freeze so the array can't be modified.

Yes. I agree. However how can we proceed with that? Is it possible to create an JSArray without ExecState? I also have the same question for JSSet. If there is a way to create them here, please let me know. I already know how to get identifiers as constant, but should be good how could I allocate constant Array (better if it is a JSSet).

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170223/928dbab7/attachment.html>

More information about the webkit-unassigned mailing list