excellent, looks good, will also come handy for enabling hydrogen for
'super(...)' calls.
This need a test: here is some code for inspiration:
https://code.google.com/p/chromium/codesearch#chromium/src/v8/test/cctest/test-api.cc&l=10038

In test-api.cc, you can just set FLAG_allow_natives_syntax = true, and then
validate that the script throws:

   function f(o) { return %_GetPrototype(o); }
   %OptimizeFunctionOnNextCall(f);
   f(prohibited)







https://codereview.chromium.org/756423006/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to