https://codereview.chromium.org/1195983002/diff/1/src/v8natives.js
File src/v8natives.js (right):

https://codereview.chromium.org/1195983002/diff/1/src/v8natives.js#newcode1770
src/v8natives.js:1770: SetFunctionName(result, bound_name, "bound");
This does not work since it sets the name on the SFI, and there's only 1
such SFI for all bound functions.

function f() {};
var o = f.bind();
function g() {};
g.bind();
assertEquals("bound f", o.name)

https://codereview.chromium.org/1195983002/

--
--
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