Reviewers: Søren Gjesse,

Description:
Correctly set eval_from_shared value when new function is created by "new
Function(...)". At the moment it's set to the native script where the Function
is defined(v8natives.js) which doesn't make much sense for the user when it
tries to debug his code. Moreover, it causes an exception in
JSONProtocolSerializer.prototype.serialize_.

Related Chromium bug: http://crbug.com/29062

Please review this at http://codereview.chromium.org/551227

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/compiler.cc
  M     src/mirror-delay.js
  A     test/mjsunit/debug-compile-event-newfunction.js


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to