Reviewers: Sven Panne,
Description:
Drop unused static microtask API
BUG=none
LOG=y
[email protected]
Please review this at https://codereview.chromium.org/261413003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+0, -37 lines):
M include/v8.h
M src/api.cc
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index
d39dca96bba8d5b60f46d0ec2e05f616cf71cd0e..b48c409276473cd3d45a9739095b72d9cbac42b9
100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -4751,28 +4751,6 @@ class V8_EXPORT V8 {
static void RemoveMemoryAllocationCallback(MemoryAllocationCallback
callback);
/**
- * Experimental: Runs the Microtask Work Queue until empty
- *
- * Deprecated: Use methods on Isolate instead.
- */
- static void RunMicrotasks(Isolate* isolate);
-
- /**
- * Experimental: Enqueues the callback to the Microtask Work Queue
- *
- * Deprecated: Use methods on Isolate instead.
- */
- static void EnqueueMicrotask(Isolate* isolate, Handle<Function>
microtask);
-
- /**
- * Experimental: Controls whether the Microtask Work Queue is
automatically
- * run when the script call depth decrements to zero.
- *
- * Deprecated: Use methods on Isolate instead.
- */
- static void SetAutorunMicrotasks(Isolate *source, bool autorun);
-
- /**
* Initializes from snapshot if possible. Otherwise, attempts to
* initialize from scratch. This function is called implicitly if
* you use the API without calling it first.
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index
8a99c278cb1da885fcda1f4ef5c34a0f3a6eef12..2cd783b17c681f649dc5bec5010b83089144d9b3
100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -6454,21 +6454,6 @@ void
V8::RemoveMemoryAllocationCallback(MemoryAllocationCallback callback) {
}
-void V8::RunMicrotasks(Isolate* isolate) {
- isolate->RunMicrotasks();
-}
-
-
-void V8::EnqueueMicrotask(Isolate* isolate, Handle<Function> microtask) {
- isolate->EnqueueMicrotask(microtask);
-}
-
-
-void V8::SetAutorunMicrotasks(Isolate* isolate, bool autorun) {
- isolate->SetAutorunMicrotasks(autorun);
-}
-
-
void V8::TerminateExecution(Isolate* isolate) {
reinterpret_cast<i::Isolate*>(isolate)->stack_guard()->TerminateExecution();
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.