Cleanup following MicrotaskQueue abstraction
https://code.google.com/p/v8/source/detail?r=19344 failed to remove the promiseEvents InternalArray. R=rossberg@chromium.org, rossberg LOG=N Review URL: https://codereview.chromium.org/203773006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20092 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
a03e80c3a5
commit
c84ac51922
@ -41,14 +41,6 @@ var $Promise = Promise;
|
||||
|
||||
// Core functionality.
|
||||
|
||||
// Event queue format: [(value, [(handler, deferred)*])*]
|
||||
// I.e., a list of value/tasks pairs, where the value is a resolution value or
|
||||
// rejection reason, and the tasks are a respective list of handler/deferred
|
||||
// pairs waiting for notification of this value. Each handler is an onResolve or
|
||||
// onReject function provided to the same call of 'chain' that produced the
|
||||
// associated deferred.
|
||||
var promiseEvents = new InternalArray;
|
||||
|
||||
// Status values: 0 = pending, +1 = resolved, -1 = rejected
|
||||
var promiseStatus = NEW_PRIVATE("Promise#status");
|
||||
var promiseValue = NEW_PRIVATE("Promise#value");
|
||||
|
Loading…
Reference in New Issue
Block a user