v8/test/cctest
sgjesse@chromium.org 634fb9152c More precise break points and stepping when debugging
Added support for more precise break points when debugging and stepping. To achieve that additional nop instructions are inserted where breaking would otherwise be impossible. The number of nop instructions inserted are sufficient to make place for patching with a call to a debug break code stub. On Intel that is 5 nop's for 32-bit and 13 for 64-bit. Om ARM 3 nop instructions (12 bytes) are required.

In order to avoid inserting nop's in to many places a simple ast checker have been added to check whether there are breakable code in a statement or expression. If it is possible to break in an expression no additional break enabeling code is inserted.

Added break locations to the true and false part of a conditional expression.

Added stepping tests to cover more constructs.

These changes are only in the full compiler.

Changed the default value for the option --debugger in teh d8 shell from true to false. The reason for this is that with --debugger turned on the full compiler will be used for all code in when running d8, which can be unexpeceted.

Review URL: http://codereview.chromium.org/2693002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4820 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2010-06-08 12:04:49 +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 MIPS simple function calls 2010-03-23 15:04:45 +00:00
gay-fixed.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
gay-fixed.h Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
gay-shortest.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
gay-shortest.h Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
SConscript CPU profiler: make code events handling scalable. 2010-05-22 05:27:19 +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 SetExternalStringDiposeCallback API 2010-06-08 09:35:47 +00:00
test-assembler-arm.cc Update and improve support for ARMv7 bitfield instructions. 2010-05-27 13:46:18 +00:00
test-assembler-ia32.cc Make the C++ tests run without SSE2 support. 2010-03-17 10:28:44 +00:00
test-assembler-mips.cc MIPS simple function calls 2010-03-23 15:04:45 +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-circular-queue.cc CPU profiler: make code events handling scalable. 2010-05-22 05:27:19 +00:00
test-compiler.cc - Remove function boilerplate objects and use SharedFunctionInfos in 2010-03-23 06:04:44 +00:00
test-conversions.cc StringToDouble rewritten not using String::Get and memory allocations. 2010-03-25 14:39:39 +00:00
test-cpu-profiler.cc Move token-related constants from CodeEntry to TokenEnumerator. 2010-06-08 11:27:00 +00:00
test-dataflow.cc Fix BitVector test failure. 2010-03-10 08:31:25 +00:00
test-debug.cc More precise break points and stepping when debugging 2010-06-08 12:04:49 +00:00
test-decls.cc First phase of migration to new named property query callbacks. 2010-06-04 11:49:44 +00:00
test-disasm-arm.cc Update and improve support for ARMv7 bitfield instructions. 2010-05-27 13:46:18 +00:00
test-disasm-ia32.cc Use direct loop when filling small arrays. 2010-05-17 14:14:34 +00:00
test-diy-fp.cc Rename files containing underscores. 2010-03-19 12:15:24 +00:00
test-double.cc Rename files containing underscores. 2010-03-19 12:15:24 +00:00
test-fast-dtoa.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
test-fixed-dtoa.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
test-flags.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-func-name-inference.cc - Remove function boilerplate objects and use SharedFunctionInfos in 2010-03-23 06:04:44 +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 Added zone-inl.h to test-heap-profiler to fix test build failure after header file refactoring in revision 4058. 2010-03-09 08:25:22 +00:00
test-heap.cc Flushing of code from functions that we expect not to use again. 2010-06-07 15:39:10 +00:00
test-list.cc Remove list copy constructor (for which there was no corresponding 2009-05-22 11:52:24 +00:00
test-liveedit.cc Rename Compare -> Comparator to resolve name conflict in v8::internal 2010-04-27 21:20:02 +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 ARM: Update the full compiler to handle all code 2010-05-25 14:08:17 +00:00
test-log-utils.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-log.cc C++ profiles processor: wire up to VM. 2010-04-06 10:36:38 +00:00
test-macro-assembler-x64.cc X64: Make smi memory operations work directly on the embedded value. 2010-05-26 10:02:07 +00:00
test-mark-compact.cc A simple test for map compact. 2010-01-19 16:34:37 +00:00
test-mips.cc MIPS simple function calls 2010-03-23 15:04:45 +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-profile-generator.cc Move token-related constants from CodeEntry to TokenEnumerator. 2010-06-08 11:27:00 +00:00
test-regexp.cc Make not sucking at regexp the default 2010-04-19 19:30:11 +00:00
test-serialize.cc Changing string length field type from int to SMI. It will make it be a regular field. Code generated in EmitNamedLoad could be patched for faster access to string.length. 2010-05-04 14:49:50 +00:00
test-sockets.cc Fixed some cctest flakiness on mac. 2009-09-25 10:36:00 +00:00
test-spaces.cc Cardmarking writebarrier. 2010-05-27 12:30:45 +00:00
test-strings.cc Fix bug in test case that made it fail to compile in non-debug mode. 2010-06-02 11:05:06 +00:00
test-thread-termination.cc Include check for execution termination into bailout check. 2010-05-21 20:52:19 +00:00
test-threads.cc Clean JS function results cache on each major GC. 2010-05-04 16:42:11 +00:00
test-unbound-queue.cc CPU profiler: make code events handling scalable. 2010-05-22 05:27:19 +00:00
test-utils.cc Add optimized version of memcpy on ia32. 2010-06-04 11:30:55 +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