v8/test/cctest
sgjesse@chromium.org 41d6cae46d Fix issue 493: Infinite loop when debug break is set when entering function.apply.
In the generated code for function.apply there was a loop checking the stack limit for interruption. This loop would call into the runtime system to handle interuption and keep running until there was no interruption. However if the interuption was debug break the runtime system would never clear the interruption as debug break is prevented in builtins are prevented and the assumption here was that returning with the debug break flag set would move execution forward.

Renamed initial_jslimit and initial_climit to real_jslimit and real_climit. Renamed a few external references related to the stack limit as well.

Exposed the real stack limit to generated code to make the stack check when entering function.apply use the real stack limit and not the stack limit which is changed to signal interruption.

Added the real stack limit to the roots array.

BUG=http://code.google.com/p/v8/issues/detail?id=493
TEST=cctest/test-debug/DebugBreakFunctionApply
Review URL: http://codereview.chromium.org/345048

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3229 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2009-11-05 13:59:40 +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 Rework the way we handle the fact that the ARM simulator uses a 2009-11-05 13:27:21 +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 Hate. Hate. Hate. 2009-11-04 09:19:30 +00:00
test-alloc.cc Recommit coderanges putting code objects within a 2 GB range, reserving only a 256 MB range of virtual memory for the code range. 2009-10-05 11:16:25 +00:00
test-api.cc Reverting 3174. Aka reapplying 3150, 3151 and 3159. Aka api accessor 2009-11-04 08:51:48 +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 - Pass the knowledge whether the old GC is compacting to the GC prologue and epilogue. This allows us to skip frame cooking and uncooking when doing a mark-sweep GC. 2009-02-25 16:52:15 +00:00
test-assembler-x64.cc X64: Fix bugs affecting Win64. 2009-10-13 10:56:13 +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 Fix issue 493: Infinite loop when debug break is set when entering function.apply. 2009-11-05 13:59:40 +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 support for comisd and cmov in IA-32 disassembler. 2009-10-08 13:28:46 +00:00
test-flags.cc Arguments on the command line are made available as a global "arguments" array. 2008-11-11 14:16:24 +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 Heap profiler: correctly determine equivalence of objects having self-refs. 2009-09-28 09:05:06 +00:00
test-heap.cc Removed 31-bit smis. 2009-10-12 11:19:20 +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 Involve more log compression techniques. 2009-06-15 09:37:50 +00:00
test-log.cc Fix crbug/24815. Changes affect profiler "lazy" mode used for V8 in Chromium. 2009-10-28 09:13:11 +00:00
test-macro-assembler-x64.cc Change NaN-test to only check for QNaNs, and API to only introduce QNaNs. 2009-10-27 08:13:59 +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 Changed keyword token recognition to be done inline in the identifier scanner. 2009-11-05 10:11:38 +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 ARM native regexps. 2009-08-31 12:40:37 +00:00
test-serialize.cc Fix issue 493: Infinite loop when debug break is set when entering function.apply. 2009-11-05 13:59:40 +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 Make 'hidden' the default visibility for gcc. Add build option, 2009-09-15 11:11:09 +00:00
test-thread-termination.cc Fix the handling of termination exceptions thrown when creating error 2009-09-01 13:55:45 +00:00
test-threads.cc Add support for forceful termination of JavaScript execution. 2009-08-19 15:14:11 +00:00
test-utils.cc Change a cast to make MacOS compiler happy. 2009-09-01 15:28:31 +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