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

Unified Diff: src/builtins/builtins-async.h

Issue 2760953002: [builtins] Move more files into v8_builtins_generators source set (Closed)
Patch Set: rebased Created 3 years, 9 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/builtins/builtins-arguments-gen.cc ('k') | src/builtins/builtins-async-function-gen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-async.h
diff --git a/src/builtins/builtins-async.h b/src/builtins/builtins-async.h
deleted file mode 100644
index bb48d55048a1ad771040ea870a602bdbfd82feb9..0000000000000000000000000000000000000000
--- a/src/builtins/builtins-async.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2016 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.
-
-#ifndef V8_BUILTINS_BUILTINS_ASYNC_H_
-#define V8_BUILTINS_BUILTINS_ASYNC_H_
-
-#include "src/builtins/builtins-promise.h"
-
-namespace v8 {
-namespace internal {
-
-class AsyncBuiltinsAssembler : public PromiseBuiltinsAssembler {
- public:
- explicit AsyncBuiltinsAssembler(compiler::CodeAssemblerState* state)
- : PromiseBuiltinsAssembler(state) {}
-
- protected:
- typedef std::function<Node*(Node*)> NodeGenerator1;
-
- // Perform steps to resume generator after `value` is resolved.
- // `on_reject_context_index` is an index into the Native Context, which should
- // point to a SharedFunctioninfo instance used to create the closure. The
- // value following the reject index should be a similar value for the resolve
- // closure. Returns the Promise-wrapped `value`.
- Node* Await(Node* context, Node* generator, Node* value, Node* outer_promise,
- const NodeGenerator1& create_closure_context,
- int on_resolve_context_index, int on_reject_context_index,
- bool is_predicted_as_caught);
-};
-
-} // namespace internal
-} // namespace v8
-
-#endif // V8_BUILTINS_BUILTINS_ASYNC_H_
« no previous file with comments | « src/builtins/builtins-arguments-gen.cc ('k') | src/builtins/builtins-async-function-gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698