v8/test/cctest
mvstanton a5200f7ed4 Type Feedback Vector lives in the closure
We get less "pollution" of type feedback if we have one vector per native
context, rather than one for the whole system. This CL moves the vector
appropriately.

We rely more heavily on the Optimized Code Map in the SharedFunctionInfo. The
vector actually lives in the first slot of the literals array (indeed there is
great commonality between those arrays, they can be thought of as the same
thing). So we make greater effort to ensure there is a valid literals array
after compilation.

This meant, for performance reasons, that we needed to extend
FastNewClosureStub to support creating closures with literals. And ultimately,
it drove us to move the optimized code map lookup out of FastNewClosureStub
and into the compile lazy builtin.

The heap change is trivial so I TBR Hannes for it...

TBR=hpayer@chromium.org

BUG=

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

Cr-Commit-Position: refs/heads/master@{#33518}
2016-01-26 14:21:08 +00:00
..
compiler Type Feedback Vector lives in the closure 2016-01-26 14:21:08 +00:00
heap Type Feedback Vector lives in the closure 2016-01-26 14:21:08 +00:00
interpreter Type Feedback Vector lives in the closure 2016-01-26 14:21:08 +00:00
wasm [wasm] Add utilities to print out WASM ast directly from the bytes. 2016-01-21 16:11:19 +00:00
cctest.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
cctest.gyp Fix the receiver check in the HandleFastApiCall builtin. 2016-01-14 12:24:04 +00:00
cctest.h Re-re-land FastAccessorBuilder. 2015-12-11 09:54:00 +00:00
cctest.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
cctest.status Type Feedback Vector lives in the closure 2016-01-26 14:21:08 +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 Make typing-asm match spec more closely around load/store, add more tests. 2015-11-30 21:11:47 +00:00
expression-type-collector.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
expression-type-collector.h Create ast/ and parsing/ subdirectories and move appropriate files 2015-11-26 16:23:07 +00:00
gay-fixed.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
gay-fixed.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
gay-precision.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
gay-precision.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
gay-shortest.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
gay-shortest.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
log-eq-of-logging-and-traversal.js Fix test-log/EquivalenceOfLoggingAndTraversal 2013-08-26 14:56:23 +00:00
OWNERS Fix filename typo in OWNERS. 2016-01-11 20:20:18 +00:00
print-extension.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
print-extension.h Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
profiler-extension.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
profiler-extension.h Continuing removing deprecated function from cctest 2015-10-08 09:48:20 +00:00
test-accessors.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-api-accessors.cc Generalize 'fast accessor' tests to work with --always-opt. 2016-01-14 14:25:02 +00:00
test-api-fast-accessor-builder.cc Generalize 'fast accessor' tests to work with --always-opt. 2016-01-14 14:25:02 +00:00
test-api-interceptors.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-api.cc Array length reduction should throw in strict mode if it can't delete an element. 2016-01-22 09:53:51 +00:00
test-api.h Move heap and CPU profilers into a dedicated directory. 2015-09-28 19:34:18 +00:00
test-array-list.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-asm-validator.cc Add function tables to asm to wasm 2016-01-20 23:37:41 +00:00
test-assembler-arm64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-assembler-arm.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-assembler-ia32.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-assembler-mips64.cc MIPS: Fix 'MIPS: Fix dd() implementations for compact branches.' 2016-01-13 15:16:31 +00:00
test-assembler-mips.cc MIPS: Fix dd() implementations for compact branches. 2016-01-12 19:49:18 +00:00
test-assembler-ppc.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-assembler-x64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-assembler-x87.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-ast-expression-visitor.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-ast.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-atomicops.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-bignum-dtoa.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-bignum.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-bit-vector.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-circular-queue.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs-arm64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs-arm.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs-ia32.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs-mips64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs-mips.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs-x64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs-x87.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-code-stubs.h Introduce x87 port 2014-05-23 16:37:27 +00:00
test-compiler.cc Type Feedback Vector lives in the closure 2016-01-26 14:21:08 +00:00
test-constantpool.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-conversions.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-cpu-profiler.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-date.cc [builtins] Refactor the remaining Date builtins. 2016-01-12 10:48:26 +00:00
test-debug.cc [debugger] remove break point hit count and ignore count. 2016-01-21 13:15:29 +00:00
test-decls.cc Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
test-deoptimization.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-dictionary.cc Make JSProxies always be in slow mode 2016-01-15 13:03:10 +00:00
test-disasm-arm64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-disasm-arm.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-disasm-ia32.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-disasm-mips64.cc MIPS64: r6 compact branch optimization. 2016-01-06 13:36:41 +00:00
test-disasm-mips.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-disasm-ppc.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-disasm-x64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-disasm-x87.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-diy-fp.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-double.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-dtoa.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-elements-kind.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-experimental-extra.js Add experimental, non-snapshotted V8 extras 2015-08-20 00:01:14 +00:00
test-extra.js Add methods to extras' InternalPackedArray 2015-10-14 17:40:54 +00:00
test-fast-dtoa.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-feedback-vector.cc Type Feedback Vector lives in the closure 2016-01-26 14:21:08 +00:00
test-feedback-vector.h The metadata part of TypeFeedbackVector is extracted to TypeFeedbackMetadata array. 2015-10-07 10:33:32 +00:00
test-field-type-tracking.cc Ensure that all non-stable maps created by Map::AddMissingTransitions() are marked as such. 2015-12-23 15:35:03 +00:00
test-fixed-dtoa.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-flags.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-func-name-inference.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-fuzz-arm64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-gc-tracer.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-global-handles.cc Don't NULL-check GlobalHandle::Node::object_ 2016-01-25 13:10:09 +00:00
test-global-object.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-hashing.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-hashmap.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-heap-profiler.cc Revert "Revert of [profiler] Implement POC Sampling Heap Profiler (patchset #12 id:220001 of https://codereview.chromium.org/1555553002/ )" 2016-01-22 16:36:57 +00:00
test-hydrogen-types.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-identity-map.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-inobject-slack-tracking.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-javascript-arm64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-js-arm64-variables.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-list.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-liveedit.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-lockers.cc Add Isolate::DiscardThreadSpecificMetadata method to embedder API. 2015-12-16 15:49:49 +00:00
test-log-stack-tracer.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-log.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-macro-assembler-arm.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-macro-assembler-ia32.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-macro-assembler-mips64.cc MIPS: Fix 'MIPS: Fix dd() implementations for compact branches.' 2016-01-13 15:16:31 +00:00
test-macro-assembler-mips.cc MIPS: Fix 'MIPS: Fix dd() implementations for compact branches.' 2016-01-13 15:16:31 +00:00
test-macro-assembler-x64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-macro-assembler-x87.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-mementos.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-microtask-delivery.cc Pass --harmony-object-observe in tests that depend on it 2015-12-09 20:34:16 +00:00
test-object-observe.cc Pass --harmony-object-observe in tests that depend on it 2015-12-09 20:34:16 +00:00
test-parsing.cc [parser] Disallow Expression in for..of statements 2016-01-20 22:05:48 +00:00
test-platform-linux.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-platform-win32.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-platform.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-profile-generator.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-random-number-generator.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-receiver-check-hidden-prototype.cc Fix the receiver check in the HandleFastApiCall builtin. 2016-01-14 12:24:04 +00:00
test-regexp.cc [regexp] implement character classes for unicode regexps. 2016-01-21 13:33:26 +00:00
test-reloc-info.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-representation.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-sampler-api.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-serialize.cc [serializer] remove some dead code. 2015-12-15 11:01:17 +00:00
test-simd.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-slots-buffer.cc [cctest] Move most heap related tests to test/cctest/heap and clean wrt IWYU 2015-12-09 11:26:15 +00:00
test-strings.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-strtod.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-symbols.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-thread-termination.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-threads.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-trace-event.cc Implement tracing interface for v8 2015-12-17 18:48:35 +00:00
test-transitions.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-typedarrays.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-types.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-typing-reset.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-unbound-queue.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-unboxed-doubles.cc Ensure that all non-stable maps created by Map::AddMissingTransitions() are marked as such. 2015-12-23 15:35:03 +00:00
test-unique.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-unscopables-hidden-prototype.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-utils-arm64.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-utils-arm64.h [test] Test expectations in cctest should use CHECK and not DCHECK. 2015-12-07 05:37:15 +00:00
test-utils.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-version.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-weakmaps.cc [cctest] Move most heap related tests to test/cctest/heap and clean wrt IWYU 2015-12-09 11:26:15 +00:00
test-weaksets.cc [cctest] Move most heap related tests to test/cctest/heap and clean wrt IWYU 2015-12-09 11:26:15 +00:00
testcfg.py [test-runner] Move test case processing beyond the multi-process boundary. 2015-11-27 12:52:25 +00:00
trace-extension.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
trace-extension.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
types-fuzz.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00