v8/test/cctest
gsathya 5668ce3987 [promises] Remove deferred object
This patch stores the promise, resolve, reject properties of the
deferred object created by CreateInternalPromiseCapability and
NewPromiseCapability directly on the promise (if the promise hasn't
been fulfilled), otherwise they are stored on the
PromiseReactionJobInfo.

This patch removes the currently unused
CreateInternalPromiseCapability and inlines the call to create the
deferred promise object.

NewPromiseCapability is the only function that works with a deferred.

This patch results in a 8.5% improvement in benchmarks over 5 runs.

BUG=v8:5343

Review-Url: https://codereview.chromium.org/2590563003
Cr-Commit-Position: refs/heads/master@{#41991}
2016-12-29 20:30:28 +00:00
..
asmjs [wasm] [asmjs] Route asm.js warnings to the dev console. 2016-12-12 14:48:50 +00:00
compiler Revert of [regexp] Remove IsRegExp intrinsic (patchset #1 id:1 of https://codereview.chromium.org/2591923003/ ) 2016-12-22 09:39:37 +00:00
heap Revert of [TypeFeedbackVector] Root literal arrays in function literals slots (patchset #11 id:370001 of https://codereview.chromium.org/2504153002/ ) 2016-12-22 10:26:36 +00:00
interpreter [intl] Add new semantics + compat fallback to Intl constructor 2016-12-23 14:32:16 +00:00
libplatform [Tracing] Support multi-categories group list. 2016-12-08 00:28:18 +00:00
libsampler Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
parsing Reland of "Store SharedFunctionInfos of a Script in a FixedArray indexed by their ID" 2016-12-15 17:19:55 +00:00
wasm [WASM] Skip SIMD test values that may result in denormalized numbers. 2016-12-21 15:31:42 +00:00
ast-types-fuzz.h [turbofan] Nuke class types. 2016-09-05 09:19:16 +00:00
BUILD.gn Suppress symbol import warning from linker when building cctest.exe 2016-12-22 19:33:00 +00:00
cctest_exe.isolate
cctest.cc Named all zones in the project 2016-10-17 12:12:42 +00:00
cctest.gyp [wasm] Implement GetPossibleBreakpoints 2016-12-19 17:22:55 +00:00
cctest.h [runtime] Port simple String.prototype.indexOf cases to TF Builtin 2016-12-16 13:24:07 +00:00
cctest.isolate
cctest.status [WASM] Skip failing F32x4 tests on ARM. 2016-12-22 16:05:05 +00:00
DEPS
expression-type-collector-macros.h
gay-fixed.cc
gay-fixed.h
gay-precision.cc
gay-precision.h
gay-shortest.cc
gay-shortest.h
log-eq-of-logging-and-traversal.js
OWNERS [wasm] Drop old typing-asm and its tests. 2016-07-14 00:06:34 +00:00
print-extension.cc
print-extension.h
profiler-extension.cc Introduce v8::CpuProfiler::New and v8::CpuProfiler::Dispose API. 2016-07-08 15:01:10 +00:00
profiler-extension.h Introduce v8::CpuProfiler::New and v8::CpuProfiler::Dispose API. 2016-07-08 15:01:10 +00:00
test-access-checks.cc Propagate exceptions thrown by access check interceptors. 2016-12-07 15:54:39 +00:00
test-accessor-assembler.cc [stubs] Enable machine graph verification for CodeStubAssembler and friends by default in debug mode. 2016-12-15 11:45:18 +00:00
test-accessors.cc [heap] Introduce enum of garbage collection reasons. 2016-09-07 10:03:08 +00:00
test-api-accessors.cc [runtime] Throw if re-declaring a non-configurable accessor. 2016-12-15 14:41:07 +00:00
test-api-fast-accessor-builder.cc Fix FastAccessorToSmi CCTest to use ptr type 2016-08-24 17:05:00 +00:00
test-api-interceptors.cc [test] Move stray variables into namespaces. 2016-11-16 11:38:18 +00:00
test-api.cc [promisehook] Fire init hook for promise subclass 2016-12-28 19:31:24 +00:00
test-api.h Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-array-list.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-assembler-arm64.cc [arm64] Avoid signed arithmetic in AddWithCarry. 2016-07-20 09:15:35 +00:00
test-assembler-arm.cc [ARM] Add fp version of vceq to assembler, disassembler, and simulator. 2016-12-20 13:06:58 +00:00
test-assembler-ia32.cc
test-assembler-mips64.cc Fix MIPS maddf and msubf instructions in simulator and tests. 2016-12-02 09:12:04 +00:00
test-assembler-mips.cc Fix MIPS maddf and msubf instructions in simulator and tests. 2016-12-02 09:12:04 +00:00
test-assembler-ppc.cc
test-assembler-s390.cc s390: clean up RR/RRE/RRD/RIL format in Assembler 2016-12-20 15:03:49 +00:00
test-assembler-x64.cc [x64] fixed "vmovups reg, mem" 2016-07-19 03:14:10 +00:00
test-assembler-x87.cc X87: [ia32] Fixes a wrong use of Operand in a test. 2016-07-04 04:23:19 +00:00
test-ast-types.cc Named all zones in the project 2016-10-17 12:12:42 +00:00
test-ast.cc Remove unused code, AstValueFactory::ConcatStrings. 2016-12-05 18:00:39 +00:00
test-atomicops.cc Reland Update implementation of atomics with latest Chromium version but use compiler builtin atomics 2016-10-21 10:05:42 +00:00
test-bignum-dtoa.cc
test-bignum.cc
test-bit-vector.cc Named all zones in the project 2016-10-17 12:12:42 +00:00
test-circular-queue.cc
test-code-cache.cc Revert of [ic] Experiment: disable map-specific handler cache. (patchset #1 id:1 of https://codereview.chromium.org/2462973003/ ) 2016-11-02 13:50:06 +00:00
test-code-layout.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-code-stub-assembler.cc [promises] Remove deferred object 2016-12-29 20:30:28 +00:00
test-code-stubs-arm64.cc
test-code-stubs-arm.cc
test-code-stubs-ia32.cc
test-code-stubs-mips64.cc
test-code-stubs-mips.cc
test-code-stubs-x64.cc
test-code-stubs-x87.cc
test-code-stubs.cc Fix cctest/test-code-stubs-mips64/ConvertDToI failure on big-endian architectures 2016-07-25 13:26:56 +00:00
test-code-stubs.h
test-compiler.cc [Test] Remove now unecessary interpreter()->Initialize() from tests. 2016-11-17 16:40:52 +00:00
test-constantpool.cc
test-conversions.cc [runtime] Add PositiveNumberToUint32 helper to avoid double to uint roundtrip 2016-12-19 12:06:58 +00:00
test-cpu-profiler.cc [deoptimizer] Fix Deoptimizer::GetDeoptInfo for last entry. 2016-12-09 15:06:26 +00:00
test-date.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-debug.cc Revert of [debugger] deprecate v8::Debug:GetDebugContext. (patchset #2 id:20001 of https://codereview.chromium.org/2589203002/ ) 2016-12-23 09:15:15 +00:00
test-decls.cc [runtime] Intercept function declarations. 2016-09-15 15:48:34 +00:00
test-deoptimization.cc [heap] Introduce enum of garbage collection reasons. 2016-09-07 10:03:08 +00:00
test-dictionary.cc Add Smi::Zero and replace all Smi::FromInt(0) calls 2016-10-07 13:05:26 +00:00
test-disasm-arm64.cc
test-disasm-arm.cc [ARM] Add fp version of vceq to assembler, disassembler, and simulator. 2016-12-20 13:06:58 +00:00
test-disasm-ia32.cc [Turbofan] Add ia32 support for 4 and 16 byte moves and swaps. 2016-07-13 13:54:39 +00:00
test-disasm-mips64.cc MIPS: Implement MADD.S, MSUB, MADDF and MSUBF. 2016-09-14 11:37:13 +00:00
test-disasm-mips.cc MIPS: Implement MADD.S, MSUB, MADDF and MSUBF. 2016-09-14 11:37:13 +00:00
test-disasm-ppc.cc
test-disasm-s390.cc
test-disasm-x64.cc [x64] supplement SSE insturctions for SIMD.js 2016-09-12 06:25:00 +00:00
test-disasm-x87.cc
test-diy-fp.cc
test-double.cc
test-dtoa.cc
test-elements-kind.cc
test-experimental-extra.js
test-extra.js Add markPromiseAsHandled V8 extra util 2016-11-15 21:25:52 +00:00
test-fast-dtoa.cc
test-feedback-vector.cc Revert of [TypeFeedbackVector] Root literal arrays in function literals slots (patchset #11 id:370001 of https://codereview.chromium.org/2504153002/ ) 2016-12-22 10:26:36 +00:00
test-feedback-vector.h
test-field-type-tracking.cc [runtime] Remove specific Descriptor subclasses and add respective factory methods instead. 2016-12-21 16:40:00 +00:00
test-fixed-dtoa.cc
test-flags.cc [debug-wrapper] remove last uses of --expose-debug-as 2016-12-19 10:44:34 +00:00
test-func-name-inference.cc Generate inferred names for es6 class functions 2016-11-15 21:58:50 +00:00
test-fuzz-arm64.cc
test-global-handles.cc Fix more -Wsign-compare warnings in heap, mips, base, etc. 2016-11-11 14:56:10 +00:00
test-global-object.cc [ic] Don't enable property cell mode for a LoadGlobalIC if the holder is a different global object than the receiver. 2016-11-23 12:17:01 +00:00
test-hashing.cc
test-hashmap.cc Instead of having a hashmap with a function pointer defining its 2016-09-30 16:17:06 +00:00
test-heap-profiler.cc Revert of [TypeFeedbackVector] Root literal arrays in function literals slots (patchset #11 id:370001 of https://codereview.chromium.org/2504153002/ ) 2016-12-22 10:26:36 +00:00
test-hydrogen-types.cc
test-identity-map.cc Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
test-inobject-slack-tracking.cc Reland Create JSPromise (patchset #16 id:300001 of https://codereview.chromium.org/2536463002/ )" 2016-12-06 18:43:18 +00:00
test-javascript-arm64.cc Remove unnessary includes of parser.h 2016-09-02 17:48:46 +00:00
test-js-arm64-variables.cc Remove unnessary includes of parser.h 2016-09-02 17:48:46 +00:00
test-list.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-liveedit.cc Named all zones in the project 2016-10-17 12:12:42 +00:00
test-lockers.cc [serializer] include global proxy in additional context snapshots. 2016-12-08 12:45:05 +00:00
test-log-stack-tracer.cc [compiler] Prepare for partially shipping Ignition. 2016-10-27 12:17:37 +00:00
test-log.cc [heap] Introduce enum of garbage collection reasons. 2016-09-07 10:03:08 +00:00
test-macro-assembler-arm.cc [ARM] Add NEON instructions for implementing SIMD. 2016-12-17 21:56:26 +00:00
test-macro-assembler-ia32.cc
test-macro-assembler-mips64.cc MIPS[64]: Fix MIPS: Improve Float(32|64)(Max|Min). 2016-12-08 14:57:07 +00:00
test-macro-assembler-mips.cc MIPS: Fix improper use of odd FP reg on mips32r6 2016-12-22 10:06:18 +00:00
test-macro-assembler-x64.cc Add Smi::Zero and replace all Smi::FromInt(0) calls 2016-10-07 13:05:26 +00:00
test-macro-assembler-x87.cc
test-mementos.cc [heap] Introduce enum of garbage collection reasons. 2016-09-07 10:03:08 +00:00
test-modules.cc [modules] Store Module metadata in per-Context EmbedderData 2016-10-11 19:22:25 +00:00
test-object.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-parsing.cc [parsing] Be less pessimistic about maybe_assigned of parameters. 2016-12-15 16:04:44 +00:00
test-platform-linux.cc
test-platform-win32.cc
test-platform.cc S390:Update inline asm constraint in test-platform 2016-07-16 15:36:45 +00:00
test-profile-generator.cc [Interpreter] Remove unused --ignition-eager flag. 2016-11-02 11:17:48 +00:00
test-random-number-generator.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-receiver-check-hidden-prototype.cc
test-regexp.cc Named all zones in the project 2016-10-17 12:12:42 +00:00
test-representation.cc [turbofan] put src/types.[h/cc] into src/compiler/types.[h/cc] 2016-09-05 15:58:45 +00:00
test-run-wasm-relocation-arm64.cc [wasm] Fix more -Wsign-compare warnings. 2016-11-11 11:56:05 +00:00
test-run-wasm-relocation-arm.cc [wasm] Fix more -Wsign-compare warnings. 2016-11-11 11:56:05 +00:00
test-run-wasm-relocation-ia32.cc [wasm] Fix -Wsign-compare warnings. 2016-11-10 12:51:05 +00:00
test-run-wasm-relocation-x64.cc [wasm] Fix more -Wsign-compare warnings. 2016-11-11 11:56:05 +00:00
test-run-wasm-relocation-x87.cc [X87][test]: Fixing -Wsign-compare compilation error for x87 test case. 2016-11-23 06:31:21 +00:00
test-sampler-api.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-serialize.cc [serializer] fix leak in test. 2016-12-19 12:04:19 +00:00
test-simd.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-strings.cc [runtime] Port simple String.prototype.indexOf cases to TF Builtin 2016-12-16 13:24:07 +00:00
test-strtod.cc
test-symbols.cc [heap] Introduce enum of garbage collection reasons. 2016-09-07 10:03:08 +00:00
test-thread-termination.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-threads.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-trace-event.cc [tracing] Avoid Gcc compilation fail by declaring AddTraceEvent function in Class derived from Platform Class. 2016-09-28 08:47:33 +00:00
test-traced-value.cc [tracing] Add support for TracedValue JSON serializer. 2016-10-06 15:27:13 +00:00
test-transitions.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-typedarrays.cc
test-types.cc Named all zones in the project 2016-10-17 12:12:42 +00:00
test-unbound-queue.cc
test-unboxed-doubles.cc [runtime] Remove specific Descriptor subclasses and add respective factory methods instead. 2016-12-21 16:40:00 +00:00
test-unique.cc Named all zones in the project 2016-10-17 12:12:42 +00:00
test-unscopables-hidden-prototype.cc
test-usecounters.cc [counters] Add UseCounters for 'f() = 0' syntax 2016-12-27 17:48:40 +00:00
test-utils-arm64.cc [build] Fix header-hygiene warnings for arm64 2016-07-25 18:16:26 +00:00
test-utils-arm64.h [build] Fix header-hygiene warnings for arm64 2016-07-25 18:16:26 +00:00
test-utils.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-version.cc
test-weakmaps.cc [heap] Minor MC: Add marking 2016-11-18 12:56:16 +00:00
test-weaksets.cc [heap] Introduce enum of garbage collection reasons. 2016-09-07 10:03:08 +00:00
testcfg.py
trace-extension.cc Expose TickSample and its APIs in v8-profiler.h 2016-07-06 18:40:31 +00:00
trace-extension.h Expose TickSample and its APIs in v8-profiler.h 2016-07-06 18:40:31 +00:00
types-fuzz.h [turbofan] HeapConstant types should compare by handle address 2016-10-08 16:51:53 +00:00