v8/test
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
..
cctest Introduce an API to force the deletion of a property ignoring 2009-06-08 09:46:09 +00:00
message Fixed a bunch of memory leaks in tests, including: 2009-03-27 00:24:49 +00:00
mjsunit Add more debugging information to scripts compiled through eval. 2009-06-08 10:47:49 +00:00
mozilla Add support for \b and ^ and $ in multiline mode, completing Irregexp 2009-01-19 18:56:47 +00:00