Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Side by Side Diff: src/promise.js

Issue 1132513003: Call builtin code wrapped in functions from the bootstrapper. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix extra natives Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/object-observe.js ('k') | src/proxy.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var $promiseCreate; 5 var $promiseCreate;
6 var $promiseResolve; 6 var $promiseResolve;
7 var $promiseReject; 7 var $promiseReject;
8 var $promiseChain; 8 var $promiseChain;
9 var $promiseCatch; 9 var $promiseCatch;
10 var $promiseThen; 10 var $promiseThen;
11 var $promiseHasUserDefinedRejectHandler; 11 var $promiseHasUserDefinedRejectHandler;
12 var $promiseStatus; 12 var $promiseStatus;
13 var $promiseValue; 13 var $promiseValue;
14 14
15 (function() { 15 (function(global, shared, exports) {
16 16
17 "use strict"; 17 "use strict";
18 18
19 %CheckIsBootstrapping(); 19 %CheckIsBootstrapping();
20 20
21 // ------------------------------------------------------------------- 21 // -------------------------------------------------------------------
22 22
23 // Status values: 0 = pending, +1 = resolved, -1 = rejected 23 // Status values: 0 = pending, +1 = resolved, -1 = rejected
24 var promiseStatus = GLOBAL_PRIVATE("Promise#status"); 24 var promiseStatus = GLOBAL_PRIVATE("Promise#status");
25 var promiseValue = GLOBAL_PRIVATE("Promise#value"); 25 var promiseValue = GLOBAL_PRIVATE("Promise#value");
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 $promiseCreate = PromiseCreate; 384 $promiseCreate = PromiseCreate;
385 $promiseResolve = PromiseResolve; 385 $promiseResolve = PromiseResolve;
386 $promiseReject = PromiseReject; 386 $promiseReject = PromiseReject;
387 $promiseChain = PromiseChain; 387 $promiseChain = PromiseChain;
388 $promiseCatch = PromiseCatch; 388 $promiseCatch = PromiseCatch;
389 $promiseThen = PromiseThen; 389 $promiseThen = PromiseThen;
390 $promiseHasUserDefinedRejectHandler = PromiseHasUserDefinedRejectHandler; 390 $promiseHasUserDefinedRejectHandler = PromiseHasUserDefinedRejectHandler;
391 $promiseStatus = promiseStatus; 391 $promiseStatus = promiseStatus;
392 $promiseValue = promiseValue; 392 $promiseValue = promiseValue;
393 393
394 })(); 394 })
OLDNEW
« no previous file with comments | « src/object-observe.js ('k') | src/proxy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698