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

Unified Diff: src/js/promise.js

Issue 2547483002: Store SharedFunctionInfos of a Script in a FixedArray indexed by their ID (Closed)
Patch Set: updates Created 4 years 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
Index: src/js/promise.js
diff --git a/src/js/promise.js b/src/js/promise.js
index 2f129d8ed19beaf1f7ca5ad4a7e12cc72cb40464..a8553dd605fe65c13ce267225b402b274ad59fe4 100644
--- a/src/js/promise.js
+++ b/src/js/promise.js
@@ -388,7 +388,7 @@ utils.InstallGetter(GlobalPromise, speciesSymbol, PromiseSpecies);
%SetCode(GlobalPromise.prototype.catch, PromiseCatch);
%InstallToContext([
- "promise_catch", PromiseCatch,
+ "promise_catch", GlobalPromise.prototype.catch,
"promise_create", PromiseCreate,
"promise_has_user_defined_reject_handler", PromiseHasUserDefinedRejectHandler,
"promise_reject", DoRejectPromise,
« src/debug/liveedit.js ('K') | « src/heap/object-stats.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698