v8/test/cctest
danno 80bc6f6e11 Remove register index/code indirection
Previous to this patch, both the lithium and TurboFan register
allocators tracked allocated registers by "indices", rather than
the register codes used elsewhere in the runtime. This patch
ensures that codes are used everywhere, and in the process cleans
up a bunch of redundant code and adds more structure to how the
set of allocatable registers is defined.

Some highlights of changes:

* TurboFan's RegisterConfiguration class moved to V8's top level
  so that it can be shared with Crankshaft.
* Various "ToAllocationIndex" and related methods removed.
* Code that can be easily shared between Register classes on
  different platforms is now shared.
* The list of allocatable registers on each platform is declared
  as a list rather than implicitly via the register index <->
  code mapping.

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

Cr-Commit-Position: refs/heads/master@{#30913}
2015-09-24 12:53:13 +00:00
..
compiler Remove register index/code indirection 2015-09-24 12:53:13 +00:00
interpreter [Interpreter] Add support for loading globals in the interpreter. 2015-09-24 11:48:37 +00:00
cctest.cc Rework startup-data-util. 2015-08-14 12:11:46 +00:00
cctest.gyp [heap] Move slots buffer into a separate file. 2015-09-15 12:35:20 +00:00
cctest.h Start removing deprecated APIs from cctest 2015-09-07 14:44:56 +00:00
cctest.status [heap,cctest] Fix CodeRange tests that use AllocateRawMemory directly. 2015-09-01 18:39:32 +00:00
DEPS Add DEPS files and run checkdeps in presubmit check 2014-06-03 13:39:42 +00:00
expression-type-collector-macros.h Refactor type collector testing macros. 2015-08-31 19:17:09 +00:00
expression-type-collector.cc Eliminate use of CompilationInfo in several AstVisitor descendants. 2015-09-01 23:06:37 +00:00
expression-type-collector.h Eliminate use of CompilationInfo in several AstVisitor descendants. 2015-09-01 23:06:37 +00:00
gay-fixed.cc Cosmetic changes to tests to make it easier to concatenate them. 2015-06-01 22:47:08 +00:00
gay-fixed.h Remove grab-bag includes of v8.h from everywhere. 2015-08-20 07:44:15 +00:00
gay-precision.cc Cosmetic changes to tests to make it easier to concatenate them. 2015-06-01 22:47:08 +00:00
gay-precision.h Remove grab-bag includes of v8.h from everywhere. 2015-08-20 07:44:15 +00:00
gay-shortest.cc Cosmetic changes to tests to make it easier to concatenate them. 2015-06-01 22:47:08 +00:00
gay-shortest.h Remove grab-bag includes of v8.h from everywhere. 2015-08-20 07:44:15 +00:00
heap-tester.h [heap,cctest] Get rid of protected-for-sake-of-testing scope. 2015-08-21 12:40:33 +00:00
log-eq-of-logging-and-traversal.js Fix test-log/EquivalenceOfLoggingAndTraversal 2013-08-26 14:56:23 +00:00
OWNERS Add per-file OWNERS for x87-specific cctests. 2015-08-14 16:02:32 +00:00
print-extension.cc Cosmetic changes to tests to make it easier to concatenate them. 2015-06-01 22:47:08 +00:00
print-extension.h Use full include paths everywhere 2014-06-03 08:12:43 +00:00
profiler-extension.cc Cosmetic changes to tests to make it easier to concatenate them. 2015-06-01 22:47:08 +00:00
profiler-extension.h Use full include paths everywhere 2014-06-03 08:12:43 +00:00
test-accessors.cc Update all callsites of the TryCatch ctor to pass an Isolate 2015-05-28 12:49:41 +00:00
test-alloc.cc [heap,cctest] Fix CodeRange tests that use AllocateRawMemory directly. 2015-09-01 18:39:32 +00:00
test-api-interceptors.cc Move SmartPointer to base. 2015-07-13 12:38:17 +00:00
test-api.cc Implement V8 extras utils object 2015-09-16 21:00:58 +00:00
test-api.h split interceptor tests off of test-api 2015-02-06 12:08:07 +00:00
test-array-list.cc Retain maps embedded in optimized code for several garbage collections. 2015-03-06 12:36:32 +00:00
test-asm-validator.cc Eliminate use of CompilationInfo in several AstVisitor descendants. 2015-09-01 23:06:37 +00:00
test-assembler-arm64.cc Make FlushICache part of Assembler(Base) and take Isolate as parameter. 2015-09-11 12:59:47 +00:00
test-assembler-arm.cc [arm] Don't call branch_offset within CheckConstPool. 2015-07-09 10:32:28 +00:00
test-assembler-ia32.cc Removed src/{isolate,property-details,utils}-inl.h 2015-04-21 10:21:37 +00:00
test-assembler-mips64.cc MIPS: Fix testcases r6_beqzc and mov. 2015-09-15 07:37:16 +00:00
test-assembler-mips.cc MIPS: Fix testcases r6_beqzc and mov. 2015-09-15 07:37:16 +00:00
test-assembler-ppc.cc Replace OFFSET_OF with offsetof as far as possible. 2015-06-17 09:06:56 +00:00
test-assembler-x64.cc Removed src/{isolate,property-details,utils}-inl.h 2015-04-21 10:21:37 +00:00
test-assembler-x87.cc Removed src/{isolate,property-details,utils}-inl.h 2015-04-21 10:21:37 +00:00
test-ast-expression-visitor.cc Eliminate use of CompilationInfo in several AstVisitor descendants. 2015-09-01 23:06:37 +00:00
test-ast.cc Remove the dependency of Zone on Isolate 2015-01-23 15:20:00 +00:00
test-atomicops.cc Move atomic ops and related files to base library 2014-06-05 12:14:47 +00:00
test-bignum-dtoa.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-bignum.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-bit-vector.cc Remove the dependency of Zone on Isolate 2015-01-23 15:20:00 +00:00
test-circular-queue.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-code-stubs-arm64.cc Remove register index/code indirection 2015-09-24 12:53:13 +00:00
test-code-stubs-arm.cc Remove register index/code indirection 2015-09-24 12:53:13 +00:00
test-code-stubs-ia32.cc Remove register index/code indirection 2015-09-24 12:53:13 +00:00
test-code-stubs-mips64.cc Remove register index/code indirection 2015-09-24 12:53:13 +00:00
test-code-stubs-mips.cc Remove register index/code indirection 2015-09-24 12:53:13 +00:00
test-code-stubs-x64.cc Remove register index/code indirection 2015-09-24 12:53:13 +00:00
test-code-stubs-x87.cc Move platform abstraction to base library 2014-06-30 13:25:46 +00:00
test-code-stubs.cc Fix the test-code-stubs tests. 2015-01-30 13:36:13 +00:00
test-code-stubs.h Introduce x87 port 2014-05-23 16:37:27 +00:00
test-compiler.cc Speed up tests for optimized code sharing. 2015-08-07 13:39:01 +00:00
test-constantpool.cc Add support for Embedded Constant Pools for PPC and Arm 2015-06-04 14:44:15 +00:00
test-conversions.cc fix special index parsing 2015-03-30 11:41:15 +00:00
test-cpu-profiler.cc Move SmartPointer to base. 2015-07-13 12:38:17 +00:00
test-date.cc Start removing deprecated APIs from cctest 2015-09-07 14:44:56 +00:00
test-debug.cc Postpone interrupts while dipatching debugger events to listeners 2015-08-31 22:32:56 +00:00
test-decls.cc Minor performance improvements to the LookupIterator 2015-07-01 12:20:10 +00:00
test-deoptimization.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-dictionary.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-disasm-arm64.cc Security: disable nontemporals. 2015-08-12 16:58:06 +00:00
test-disasm-arm.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-disasm-ia32.cc Realize IWYU pattern for frames-inl.h header. 2015-08-12 10:28:47 +00:00
test-disasm-mips64.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-disasm-mips.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-disasm-ppc.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-disasm-x64.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-disasm-x87.cc X87: Realize IWYU pattern for frames-inl.h header. 2015-08-17 00:40:41 +00:00
test-diy-fp.cc Move platform abstraction to base library 2014-06-30 13:25:46 +00:00
test-double.cc Remove deprecated v8::base::OS::nan_value(). 2015-01-21 14:38:58 +00:00
test-dtoa.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-experimental-extra.js Add experimental, non-snapshotted V8 extras 2015-08-20 00:01:14 +00:00
test-extra.js Implement V8 extras utils object 2015-09-16 21:00:58 +00:00
test-fast-dtoa.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-feedback-vector.cc Reland Vector ICs: platform support for vector-based stores. 2015-09-04 08:36:43 +00:00
test-fixed-dtoa.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-flags.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-func-name-inference.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-fuzz-arm64.cc ARM64: Enable shorten-64-to-32 warning 2015-05-15 05:13:11 +00:00
test-gc-tracer.cc [heap] Hide GCTracer inside the heap component. 2015-08-20 15:48:12 +00:00
test-global-handles.cc Add convenience method for converting v8::PersistentBase to v8::Local 2015-07-13 15:02:29 +00:00
test-global-object.cc Cosmetic changes to tests to make it easier to concatenate them. 2015-06-01 22:47:08 +00:00
test-hashing.cc Move hash code from hidden string to a private symbol 2015-05-26 11:26:36 +00:00
test-hashmap.cc Add basic API support for Map & Set 2015-05-26 17:37:01 +00:00
test-heap-profiler.cc [simd.js] Update to spec version 0.8.2. 2015-08-25 12:35:19 +00:00
test-heap.cc [heap] Cleanup: Align naming of parallel sweeping with parallel compaction. 2015-09-18 10:49:20 +00:00
test-hydrogen-types.cc Cosmetic changes to tests to make it easier to concatenate them. 2015-06-01 22:47:08 +00:00
test-identity-map.cc [heap] Move IdentityMap data structure out of heap. 2015-08-28 13:01:08 +00:00
test-incremental-marking.cc Use idle task to perform incremental marking steps. 2015-09-08 15:54:37 +00:00
test-javascript-arm64.cc Serializer: move to a subfolder and clean up includes. 2015-03-27 15:29:07 +00:00
test-js-arm64-variables.cc Serializer: move to a subfolder and clean up includes. 2015-03-27 15:29:07 +00:00
test-list.cc Use full include paths everywhere 2014-06-03 08:12:43 +00:00
test-liveedit.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-lockers.cc Move SmartPointer to base. 2015-07-13 12:38:17 +00:00
test-log-stack-tracer.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-log.cc Revert of [heap] More flag cleanup. (patchset #8 id:140001 of https://codereview.chromium.org/1314863003/ ) 2015-08-31 10:23:35 +00:00
test-macro-assembler-arm.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-macro-assembler-ia32.cc Serializer: move to a subfolder and clean up includes. 2015-03-27 15:29:07 +00:00
test-macro-assembler-mips64.cc MIPS64: Fix BlockTrampolinePoolFor() to emit trampoline before blocking, if needed. 2015-07-13 18:26:33 +00:00
test-macro-assembler-mips.cc MIPS: Fix BlockTrampolinePoolFor() to emit trampoline before blocking, if needed. 2015-07-13 07:28:38 +00:00
test-macro-assembler-x64.cc Remove more uses of the deprecated EnumSet template class. 2015-07-10 09:35:11 +00:00
test-macro-assembler-x87.cc Serializer: move to a subfolder and clean up includes. 2015-03-27 15:29:07 +00:00
test-mark-compact.cc [heap,cctest] Get rid of protected-for-sake-of-testing scope. 2015-08-21 12:40:33 +00:00
test-mementos.cc Remove --pretenure-call-new 2015-09-16 15:12:43 +00:00
test-microtask-delivery.cc Cosmetic changes to tests to make it easier to concatenate them. 2015-06-01 22:47:08 +00:00
test-migrations.cc Add CompileInfo::GetDebugName() 2015-08-24 10:23:55 +00:00
test-object-observe.cc Disallow Object.observe calls on access-checked objects 2015-09-16 21:19:35 +00:00
test-parsing.cc [es6] support get and set in shorthand properties 2015-09-16 16:02:05 +00:00
test-platform-linux.cc Refactor unit tests for the base library to use GTest. 2014-08-06 09:35:21 +00:00
test-platform-win32.cc Refactor unit tests for the base library to use GTest. 2014-08-06 09:35:21 +00:00
test-platform.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-profile-generator.cc Prepare profiler test for try-catch being optimizable. 2015-07-02 09:22:56 +00:00
test-random-number-generator.cc Pass ArrayBuffer::Allocator via Isolate::CreateParams 2015-04-29 09:54:43 +00:00
test-regexp.cc Move regexp implementation into its own folder. 2015-08-13 06:55:36 +00:00
test-reloc-info.cc Move SmartPointer to base. 2015-07-13 12:38:17 +00:00
test-representation.cc Check alpha-sorting of includes during presubmit. 2014-06-20 08:40:11 +00:00
test-sampler-api.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-serialize.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-simd.cc [simd.js] Update to spec version 0.8.2. 2015-08-25 12:35:19 +00:00
test-slots-buffer.cc [heap] Move slots buffer into a separate file. 2015-09-15 12:35:20 +00:00
test-spaces.cc Revert of [heap] Add more tasks for parallel compaction (patchset #11 id:200001 of https://codereview.chromium.org/1354383002/ ) 2015-09-23 13:47:08 +00:00
test-strings.cc PPC: perf enhancement: Use larger heap page size on PPC. 2015-07-21 15:52:13 +00:00
test-strtod.cc Revert of Remove obsolete V8_INFINITY macro. (patchset #3 id:40001 of https://codereview.chromium.org/798413003/) 2014-12-20 13:17:35 +00:00
test-symbols.cc Reland Force full GCwhenever CollectAllGarbage is meant to trigger a full GC. 2015-04-23 08:37:05 +00:00
test-thread-termination.cc Continuing removing deprecated function from cctest 2015-09-21 10:34:59 +00:00
test-threads.cc Continuing removing deprecated function from cctest 2015-09-21 10:34:59 +00:00
test-transitions.cc Continuing removing deprecated function from cctest 2015-09-21 10:34:59 +00:00
test-typedarrays.cc Continuing removing deprecated function from cctest 2015-09-21 10:34:59 +00:00
test-types.cc Continuing removing deprecated function from cctest 2015-09-21 10:34:59 +00:00
test-typing-reset.cc Continuing removing deprecated function from cctest 2015-09-21 10:34:59 +00:00
test-unbound-queue.cc Continuing removing deprecated function from cctest 2015-09-21 10:34:59 +00:00
test-unboxed-doubles.cc Continuing removing deprecated function from cctest 2015-09-21 10:34:59 +00:00
test-unique.cc Continuing removing deprecated functions from cctests 2015-09-10 13:10:01 +00:00
test-unscopables-hidden-prototype.cc Continuing removing deprecated functions from cctests 2015-09-10 13:10:01 +00:00
test-utils-arm64.cc Continuing removing deprecated functions from cctests 2015-09-10 13:10:01 +00:00
test-utils-arm64.h ARM64: Enable shorten-64-to-32 warning 2015-05-15 05:13:11 +00:00
test-utils.cc Continuing removing deprecated functions from cctests 2015-09-10 13:10:01 +00:00
test-version.cc Continuing removing deprecated functions from cctests 2015-09-10 13:10:01 +00:00
test-weakmaps.cc Continuing removing deprecated functions from cctests 2015-09-10 13:10:01 +00:00
test-weaksets.cc Continuing removing deprecated functions from cctests 2015-09-10 13:10:01 +00:00
testcfg.py Fix test serialization path for windows. 2014-03-26 07:40:32 +00:00
trace-extension.cc Continuing removing deprecated functions from cctests 2015-09-10 13:10:01 +00:00
trace-extension.h Continuing removing deprecated functions from cctests 2015-09-10 13:10:01 +00:00
types-fuzz.h [simd] Introduce SIMD types (as classes) 2015-08-21 10:49:39 +00:00