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

Unified Diff: src/objects.cc

Issue 2554013002: Revert of Create JSPromise (Closed)
Patch Set: 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
« no previous file with comments | « src/objects.h ('k') | src/objects-debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index c9d9fb005b52eca7c1ddb99037dc43892f350f5b..d0e40b94859e2fe81f0ec3d05bcffadd3431581b 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -16559,19 +16559,6 @@
int scope_position_;
};
-// static
-const char* JSPromise::Status(int status) {
- switch (status) {
- case kPromiseFulfilled:
- return "resolved";
- case kPromisePending:
- return "pending";
- case kPromiseRejected:
- return "rejected";
- }
- UNREACHABLE();
- return NULL;
-}
namespace {
« no previous file with comments | « src/objects.h ('k') | src/objects-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698