v8/test
sgjesse@chromium.org fc713930ed Remove the last context dependent reference from the Script object
For scripts originating from a call to eval the Script object used to hold a reference to the function from where the eval was called together with the code offset within that function of the eval call. This is used by the stack trace and is part of the debugger protocol. In order to avoid storing the function the script, the position within the script and the name of the function calling eval is stored instead. This avoids holding context dependent objects in the script object.

The calculation of the position of the eval in the script holding the eval is now done when the eval script is compiled as it is not possible to postpone this unless a reference is kept to the generated code for the function calling eval.

BUG=http://code.google.com/p/v8/issues/detail?id=528
TEST=cctest/test-api/Regress528
Review URL: http://codereview.chromium.org/450034

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3393 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2009-12-01 14:36:45 +00:00
..
cctest Remove the last context dependent reference from the Script object 2009-12-01 14:36:45 +00:00
es5conform Added test suite adapter for es5conform. 2009-09-15 13:30:46 +00:00
message X64: Implement debugger hooks. 2009-08-19 10:18:30 +00:00
mjsunit Fix toLocaleString-related breakage on buildbot. 2009-12-01 14:19:23 +00:00
mozilla Sort tests to increase predictability of mozilla test runs 2009-11-04 16:55:24 +00:00
sputnik Updated sputnik test expectations to match changes in tests. 2009-11-12 13:01:03 +00:00