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

Unified Diff: src/builtins/builtins-async-iterator-gen.cc

Issue 2752143004: [refactor] Separate generated builtins and C++ builtins into separate files (Closed)
Patch Set: tentative gcmole fix 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-async-iterator.cc ('k') | src/builtins/builtins-boolean.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-async-iterator-gen.cc
diff --git a/src/builtins/builtins-async-iterator.cc b/src/builtins/builtins-async-iterator-gen.cc
similarity index 98%
rename from src/builtins/builtins-async-iterator.cc
rename to src/builtins/builtins-async-iterator-gen.cc
index 13d15ef2c6047e5c6f543bc2b33c21f93920549d..04510dee6ed998da5f64329cfea108b807132a77 100644
--- a/src/builtins/builtins-async-iterator.cc
+++ b/src/builtins/builtins-async-iterator-gen.cc
@@ -3,7 +3,7 @@
// found in the LICENSE file.
#include "src/builtins/builtins-async.h"
-#include "src/builtins/builtins-utils.h"
+#include "src/builtins/builtins-utils-gen.h"
#include "src/builtins/builtins.h"
#include "src/code-factory.h"
#include "src/code-stub-assembler.h"
@@ -12,6 +12,8 @@
namespace v8 {
namespace internal {
+using compiler::Node;
+
namespace {
// Describe fields of Context associated with the AsyncIterator unwrap closure.
@@ -22,7 +24,7 @@ class ValueUnwrapContext {
class AsyncFromSyncBuiltinsAssembler : public AsyncBuiltinsAssembler {
public:
- explicit AsyncFromSyncBuiltinsAssembler(CodeAssemblerState* state)
+ explicit AsyncFromSyncBuiltinsAssembler(compiler::CodeAssemblerState* state)
: AsyncBuiltinsAssembler(state) {}
void ThrowIfNotAsyncFromSyncIterator(Node* const context, Node* const object,
« no previous file with comments | « src/builtins/builtins-async-iterator.cc ('k') | src/builtins/builtins-boolean.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698