v8/src/js
gsathya ec61e6b434 [promises] Remove one runtime call to create_resolving_functions
- Creates a new promise-utils.{h, cc} which refactors out the
logic to create resolving functions. This is shared between the
runtime functions and builtins.

- Changes PromiseResolveThenableJobInfo to store the context
since we no longer create the resolving functions in JS.

- Changes EnqueuPromiseResolveThenableJob to take in the promise and
  not the callbacks.

BUG=v8:5343

Review-Url: https://codereview.chromium.org/2487053002
Cr-Commit-Position: refs/heads/master@{#40941}
2016-11-11 20:59:46 +00:00
..
array.js [builtins] implement Array.prototype[@@iterator] in TFJ builtins 2016-10-18 02:43:14 +00:00
arraybuffer.js Move family of MakeError functions to C++ 2016-08-09 07:43:19 +00:00
async-await.js [promises] Move CreateResolvingFunctions to c++ 2016-11-10 16:05:08 +00:00
collection-iterator.js Move family of MakeError functions to C++ 2016-08-09 07:43:19 +00:00
collection.js [Math] implement Math.random as TFJ builtin. 2016-10-11 06:47:15 +00:00
datetime-format-to-parts.js Add support for DateTimeFormat.formatToParts 2016-09-06 22:57:11 +00:00
harmony-atomics.js Move family of MakeError functions to C++ 2016-08-09 07:43:19 +00:00
harmony-simd.js Move family of MakeError functions to C++ 2016-08-09 07:43:19 +00:00
harmony-string-padding.js Move family of MakeError functions to C++ 2016-08-09 07:43:19 +00:00
i18n.js [regexp] Port remaining JS functions in regexp.js 2016-10-13 15:03:22 +00:00
icu-case-mapping.js Use ICU case conversion/transliterator for case conversion 2016-05-11 19:03:04 +00:00
macros.py [regexp] Turn last match info into a simple FixedArray 2016-10-14 11:47:09 +00:00
messages.js Move remaining Message functions to C++ 2016-08-10 09:58:26 +00:00
OWNERS Add littledan to src/js/OWNERS 2016-01-13 01:09:19 +00:00
prologue.js Clean up builtins export whitelist. 2016-10-14 11:52:03 +00:00
promise.js [promises] Remove one runtime call to create_resolving_functions 2016-11-11 20:59:46 +00:00
proxy.js Remove the Proxy enumerate trap 2016-02-22 21:11:36 +00:00
runtime.js Reland of Amend DataView, ArrayBuffer, and TypedArray methods to use ToIndex. (patchset #2 id:170001 of https://codereview.chromium.org/2113593002/ ) 2016-08-17 17:38:56 +00:00
spread.js Move family of MakeError functions to C++ 2016-08-09 07:43:19 +00:00
string.js [regexp] Remove unused code 2016-10-25 07:19:13 +00:00
symbol.js Move family of MakeError functions to C++ 2016-08-09 07:43:19 +00:00
templates.js [builtins] Migrate a bunch of Object builtins to C++. 2016-01-04 08:11:07 +00:00
typedarray.js [builtins] Migrate Number predicates and make them optimizable. 2016-09-07 10:14:40 +00:00
v8natives.js [builtins] Migrate Number.parseInt to TurboFan builtin. 2016-10-18 12:45:01 +00:00
weak-collection.js Move family of MakeError functions to C++ 2016-08-09 07:43:19 +00:00