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

Unified Diff: src/d8.h

Issue 1895603002: [esnext] prototype runtime implementation for async functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@AsyncFunction
Patch Set: Don't put assert*Async helpers in mjsunit.js Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/contexts.h ('k') | src/factory.cc » ('j') | src/objects.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.h
diff --git a/src/d8.h b/src/d8.h
index e51e8ee13fae98b3bcc7b3d3fab5421548213454..f740b647136d9961ba69f66841fa696c1567a83c 100644
--- a/src/d8.h
+++ b/src/d8.h
@@ -401,6 +401,10 @@ class Shell : public i::AllStatic {
const v8::FunctionCallbackInfo<v8::Value>& args);
static void WorkerGetMessage(const v8::FunctionCallbackInfo<v8::Value>& args);
static void WorkerTerminate(const v8::FunctionCallbackInfo<v8::Value>& args);
+
+ // Run queued microtasks and clear task queue
+ static void FlushMicrotasks(const v8::FunctionCallbackInfo<v8::Value>& args);
Dan Ehrenberg 2016/05/16 23:01:16 Remove this dead declaration
caitp (gmail) 2016/05/16 23:08:30 Done.
+
// The OS object on the global object contains methods for performing
// operating system calls:
//
« no previous file with comments | « src/contexts.h ('k') | src/factory.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698