Actually, the de-opts shouldn't exist, considering it's effective
equivalent in C++ would be pretty straightforward (and could be polyfilled
in Node literally via native code):
```cpp
Handle<JSWeakMap>* createClearedInstance() {
// ...
}
// ...
Handle<JSWeakMap>* wm->inst = createClearedInstance();
```
On Oct 28, 2014 10:30 PM, "Fabrício Matté" <[email protected]> wrote:
> > Not in pure ECMAScript being interpreted, but it can definitely be
> done in the implementation.
>
> Yeah I think so too, but if no where else in the specification uses this
> pattern, implementations would be required to implement new mechanisms and
> possibly have de-optimizations.
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss