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

Unified Diff: src/js/promise-extra.js

Issue 2267033002: Remove --promise-extra flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix syntax for skip Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/js/promise.js ('k') | src/v8.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/promise-extra.js
diff --git a/src/js/promise-extra.js b/src/js/promise-extra.js
deleted file mode 100644
index 34d7323604d3d5b451f0da3a4dc66c2df6e0623a..0000000000000000000000000000000000000000
--- a/src/js/promise-extra.js
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2015 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-(function(global, utils) {
-
-"use strict";
-
-%CheckIsBootstrapping();
-
-var GlobalPromise = global.Promise;
-
-var PromiseChain = utils.ImportNow("PromiseChain");
-var PromiseDefer = utils.ImportNow("PromiseDefer");
-var PromiseAccept = utils.ImportNow("PromiseAccept");
-
-utils.InstallFunctions(GlobalPromise.prototype, DONT_ENUM, [
- "chain", PromiseChain,
-]);
-
-utils.InstallFunctions(GlobalPromise, DONT_ENUM, [
- "defer", PromiseDefer,
- "accept", PromiseAccept,
-]);
-
-})
« no previous file with comments | « src/js/promise.js ('k') | src/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698