v8/test/cctest
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.cc Reverting 3174. Aka reapplying 3150, 3151 and 3159. Aka api accessor 2009-11-04 08:51:48 +00:00
cctest.h Reverting 3174. Aka reapplying 3150, 3151 and 3159. Aka api accessor 2009-11-04 08:51:48 +00:00
cctest.status * Remove old snapshot implementation 2009-11-16 12:08:40 +00:00
SConscript Changed keyword token recognition to be done inline in the identifier scanner. 2009-11-05 10:11:38 +00:00
test-accessors.cc Fixed problem where popping a handle scope after calling an accessor 2009-11-06 11:35:47 +00:00
test-alloc.cc Fix compilation error in r3352 2009-11-24 15:16:02 +00:00
test-api.cc Remove the last context dependent reference from the Script object 2009-12-01 14:36:45 +00:00
test-assembler-arm.cc Compile fixes for ARM and miscellaneous spolling. 2009-09-09 09:35:34 +00:00
test-assembler-ia32.cc Allow a platform to indicate that some CPU features are always 2009-11-13 12:32:57 +00:00
test-assembler-x64.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-ast.cc Fix broken test compilation. 2009-07-30 12:25:24 +00:00
test-compiler.cc Move InitLineEnds and GetLineNumber to handles.cc to avoid 2009-03-10 15:08:45 +00:00
test-conversions.cc Make 'hidden' the default visibility for gcc. Add build option, 2009-09-15 11:11:09 +00:00
test-debug.cc Remove usage of JSArray in Script object 2009-11-27 14:10:48 +00:00
test-decls.cc Fix errors in test-heap.cc and test-decls.cc. Adjust cctest.status. 2009-08-18 12:43:36 +00:00
test-disasm-arm.cc Reapply ARM root array change to reduce const pool size 2009-08-24 11:57:57 +00:00
test-disasm-ia32.cc Add missing case for shr in IA-32 disassembler 2009-11-17 10:24:27 +00:00
test-flags.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-func-name-inference.cc Fix issue 380. 2009-06-16 11:47:00 +00:00
test-hashmap.cc Make the hash map test run faster by doing less work. 2009-05-15 13:49:00 +00:00
test-heap-profiler.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-heap.cc Remove the different length string types 2009-11-24 14:10:06 +00:00
test-list.cc Remove list copy constructor (for which there was no corresponding 2009-05-22 11:52:24 +00:00
test-lock.cc Added a wait with timeout to the platform semaphore class. 2009-03-18 09:04:24 +00:00
test-log-stack-tracer.cc Reverting 3174. Aka reapplying 3150, 3151 and 3159. Aka api accessor 2009-11-04 08:51:48 +00:00
test-log-utils.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-log.cc Include getters and setters callbacks invocations in CPU profiler log. 2009-11-25 16:39:18 +00:00
test-macro-assembler-x64.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-mark-compact.cc Allow resource constraints to specify the max committed new space size 2009-10-21 15:03:34 +00:00
test-parsing.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-platform-linux.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-platform-macos.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-platform-nullos.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-platform-win32.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-regexp.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-serialize.cc Make heap serialization nondestructive. 2009-11-25 12:55:33 +00:00
test-sockets.cc Fixed some cctest flakiness on mac. 2009-09-25 10:36:00 +00:00
test-spaces.cc Allow resource constraints to specify the max committed new space size 2009-10-21 15:03:34 +00:00
test-strings.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-thread-termination.cc Re-enable all declarations in fast top-level compiler. 2009-11-24 12:23:29 +00:00
test-threads.cc Add support for forceful termination of JavaScript execution. 2009-08-19 15:14:11 +00:00
test-utils.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-version.cc Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
testcfg.py Add verification flags to debug mjsunit test runs. 2009-09-02 12:40:00 +00:00