Go to file
sgjesse@chromium.org d498361c5f Add more debugging information to scripts compiled through eval.
Scripts now have a compilation type which can be host, eval or JSON. Host scripts are compiled through the API, eval scripts are compiled through call to evan and JSON scripts are compiled as a result of calling JSON.parse.

For scripts scripts compiled through eval the JavaScript function in top of the stack and the pc offset into the code is stored in the script object. This makes it possible to calculate the source position of the eval call later when requested. This information can be obtained through the script mirror object and is part of the script mirror JSON serialization for the debugger protocol.

Moved the enumeration ScripType into class Script and remamed to Type. The new compilation type enumeration is also inside the class Script.

This information is now shown when using the scripts command in he developer shell debugger.
Review URL: http://codereview.chromium.org/119108

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2119 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2009-06-08 10:47:49 +00:00
benchmarks Remove duplicate line in benchmarks/base.js 2009-05-26 13:28:51 +00:00
include Introduce an API to force the deletion of a property ignoring 2009-06-08 09:46:09 +00:00
samples Add a "read" extension to the shell programs. This global function 2009-04-17 21:04:34 +00:00
src Add more debugging information to scripts compiled through eval. 2009-06-08 10:47:49 +00:00
test Add more debugging information to scripts compiled through eval. 2009-06-08 10:47:49 +00:00
tools Add an ability to explicitly specify path to d8 shell to linux-tick-processor. 2009-06-05 15:49:37 +00:00
AUTHORS Fix compilation on FreeBSD. Thanks to Ryan Dahl for patch. 2009-06-08 08:51:35 +00:00
ChangeLog Prepare for push to trunk. We are now working on 1.2.7. 2009-05-29 10:52:00 +00:00
LICENSE Remove JSCRE 2009-02-25 08:08:01 +00:00
SConstruct Fix compilation on FreeBSD. Thanks to Ryan Dahl for patch. 2009-06-08 08:51:35 +00:00