v8/test/cctest
rossberg@chromium.org 764e1a0fcf ES6 symbols: Introduce Symbol class, along with abstract Name class
The new instance type 'Symbol' represents ES6 symbols (a.k.a. private/unique names). Currently, symbols are simple data objects that only carry a hash code, random-generated upon allocation.

The new type 'Name' now serves as the common super class for strings and symbols, and is supposed to represent property names. We will eventually migrate APIs from String to Name for the standard key type.

Strings and symbols share the same hash field representation, via the Name class. This way, we should be able to use the same code paths for symbols and internalized strings in most cases. Also, Symbol's instance type code is allocated adjacent to internalized string codes in the enum, allowing a simple range check for the common case.

Baseline CL: https://codereview.chromium.org/12210083/

R=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/12223071

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13783 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-03-01 10:34:31 +00:00
..
cctest.cc Make the Isolate parameter mandatory in Locker and Unlocker classes. 2013-01-18 07:20:17 +00:00
cctest.gyp ES6 symbols: Introduce Symbol class, along with abstract Name class 2013-03-01 10:34:31 +00:00
cctest.h Make the GC stress builder go green. 2013-02-06 13:21:28 +00:00
cctest.status Temporarily disable deferred stack trace formatting. 2013-01-18 13:05:03 +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-precision.cc Added precision mode to fast-dtoa. 2010-09-20 09:18:00 +00:00
gay-precision.h Added precision mode to fast-dtoa. 2010-09-20 09:18:00 +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
log-eq-of-logging-and-traversal.js Eliminate the need for code delete events in CPU profiler. 2011-09-14 11:47:03 +00:00
SConscript ES6 symbols: Introduce Symbol class, along with abstract Name class 2013-03-01 10:34:31 +00:00
test-accessors.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-alloc.cc Renamed "symbols" to "internalized strings" throughout the code base, 2013-02-28 17:03:34 +00:00
test-api.cc Renamed "symbols" to "internalized strings" throughout the code base, 2013-02-28 17:03:34 +00:00
test-assembler-arm.cc Emit VMLS for multiply-subtract on ARM. 2013-02-27 10:24:40 +00:00
test-assembler-ia32.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-assembler-mips.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-assembler-x64.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-ast.cc One Zone per CompilationInfo. 2012-06-20 08:58:41 +00:00
test-bignum-dtoa.cc Fix X64 compilation on Windows. 2011-02-03 11:13:04 +00:00
test-bignum.cc Bignum implementation of Strtod. 2010-11-08 11:49:47 +00:00
test-circular-queue.cc Pick the namespace alias 'i' from v8.h. 2011-08-12 09:49:55 +00:00
test-compiler.cc Renamed "symbols" to "internalized strings" throughout the code base, 2013-02-28 17:03:34 +00:00
test-conversions.cc Cleanup of ScannerConstants, now named UnicodeCache. 2011-04-12 08:27:38 +00:00
test-cpu-profiler.cc Send SIGPROF signals on the profiler event processor thread 2013-02-26 16:15:32 +00:00
test-dataflow.cc One Zone per CompilationInfo. 2012-06-20 08:58:41 +00:00
test-date.cc Implement date library functions in C++. 2012-03-09 12:07:29 +00:00
test-debug.cc Renamed "symbols" to "internalized strings" throughout the code base, 2013-02-28 17:03:34 +00:00
test-decls.cc Add Isolate parameter to Persistent class. 2013-01-25 08:31:46 +00:00
test-deoptimization.cc Add kAbortIncrementalMarkingMask flag for GC. 2012-03-07 17:52:16 +00:00
test-dictionary.cc Make test-dictionary work for GC stress builder. 2012-11-20 10:47:31 +00:00
test-disasm-arm.cc ARM: Fix disassembly of some VFP instructions with condition codes 2013-02-27 11:52:45 +00:00
test-disasm-ia32.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-disasm-mips.cc MIPS: Added support for Loongson architectures. 2012-03-13 16:18:30 +00:00
test-disasm-x64.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-diy-fp.cc Rename files containing underscores. 2010-03-19 12:15:24 +00:00
test-double.cc Remove unused IsNan function 2012-04-23 13:44:06 +00:00
test-dtoa.cc Fix compilation on 64-bit Windows, update Visual Studio projects. 2011-02-03 13:29:10 +00:00
test-fast-dtoa.cc Fix X64 Windows compilation. 2011-02-03 15:14:46 +00:00
test-fixed-dtoa.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
test-flags.cc Ensure removing processed command line arguments. 2012-06-13 15:02:05 +00:00
test-func-name-inference.cc Fix FindSharedFunctionInfoInScript to not optimize. 2012-09-03 14:23:00 +00:00
test-global-object.cc Always fail when trying to store to an undeclared global variable, even if it was found. 2013-01-23 16:04:19 +00:00
test-hashing.cc Continues Latin-1 support. All tests pass with ENABLE_LATIN_1 flag. 2013-01-09 15:47:53 +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 for HeapSnapshotAddressReuse test case. 2013-02-25 16:09:57 +00:00
test-heap.cc Renamed "symbols" to "internalized strings" throughout the code base, 2013-02-28 17:03:34 +00:00
test-list.cc Progress towards making Zones independent of Isolates and Threads. 2012-06-04 14:42:58 +00:00
test-liveedit.cc One Zone per CompilationInfo. 2012-06-20 08:58:41 +00:00
test-lock.cc Stop running some liveedit tests (see issue 915). 2010-10-29 07:10:14 +00:00
test-lockers.cc Fixed a memory leak in v8 and another one in d8. 2013-02-12 11:57:51 +00:00
test-log-stack-tracer.cc Make the Isolate parameter mandatory for internal HandleScopes. 2013-02-15 09:27:10 +00:00
test-log.cc Add Isolate parameter to Persistent class. 2013-01-25 08:31:46 +00:00
test-macro-assembler-x64.cc Make the Isolate parameter mandatory for internal HandleScopes. 2013-02-15 09:27:10 +00:00
test-mark-compact.cc Renamed "symbols" to "internalized strings" throughout the code base, 2013-02-28 17:03:34 +00:00
test-object-observe.cc Work around nifty VS10 compiler bug 2013-02-11 12:28:22 +00:00
test-parsing.cc Renamed "symbols" to "internalized strings" throughout the code base, 2013-02-28 17:03:34 +00:00
test-platform-linux.cc Add OS::GetCurrentProcessId and prepend output from trace-gc with the current pid 2012-07-10 12:52:36 +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-tls.cc "Deiceolate" Thread classes. 2011-06-10 09:54:04 +00:00
test-platform-win32.cc Add OS::GetCurrentProcessId and prepend output from trace-gc with the current pid 2012-07-10 12:52:36 +00:00
test-platform.cc Determine number of available cores on all platforms. 2013-02-15 12:38:59 +00:00
test-profile-generator.cc Merge experimental/gc branch to the bleeding_edge. 2011-09-19 18:36:47 +00:00
test-random.cc Renamed "symbols" to "internalized strings" throughout the code base, 2013-02-28 17:03:34 +00:00
test-regexp.cc Fix bogus regexp test. 2013-02-26 10:49:59 +00:00
test-reloc-info.cc Merge experimental/gc branch to the bleeding_edge. 2011-09-19 18:36:47 +00:00
test-serialize.cc Renamed "symbols" to "internalized strings" throughout the code base, 2013-02-28 17:03:34 +00:00
test-sockets.cc Fix cctests using Sockets to be able to run in parallel 2012-10-01 09:41:18 +00:00
test-spaces.cc Use MemoryChunk-based allocation for deoptimization entry code 2013-01-29 09:09:55 +00:00
test-strings.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-strtod.cc Revert r10913. 2012-03-05 07:55:27 +00:00
test-symbols.cc ES6 symbols: Introduce Symbol class, along with abstract Name class 2013-03-01 10:34:31 +00:00
test-thread-termination.cc Add Isolate parameter to Persistent class. 2013-01-25 08:31:46 +00:00
test-threads.cc Make the Isolate parameter mandatory in Locker and Unlocker classes. 2013-01-18 07:20:17 +00:00
test-unbound-queue.cc Pick the namespace alias 'i' from v8.h. 2011-08-12 09:49:55 +00:00
test-utils.cc Fix build errors. 2012-07-30 08:54:51 +00:00
test-version.cc Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
test-weakmaps.cc Renamed "symbols" to "internalized strings" throughout the code base, 2013-02-28 17:03:34 +00:00
testcfg.py Fix test harness to correctly split extra flags. 2013-01-29 13:27:23 +00:00