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

Unified Diff: src/code-stubs.h

Issue 2551163003: [turbofan] Move CodeAssembler::Label and CodeAssembler::Variable to compiler namespace. (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 | « no previous file | src/code-stubs-hydrogen.cc » ('j') | src/code-stubs-hydrogen.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index 9b86e3ec1e8e9323aa3305575b3d5293cc3c36d2..48edffc23e8fbbba49c4b8b963f5c7fb04963185 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -7,7 +7,6 @@
#include "src/allocation.h"
#include "src/assembler.h"
-#include "src/code-stub-assembler.h"
#include "src/codegen.h"
#include "src/globals.h"
#include "src/ic/ic-state.h"
@@ -19,7 +18,14 @@
namespace v8 {
namespace internal {
+// Forward declarations.
+class CodeStubAssembler;
class ObjectLiteral;
+namespace compiler {
+class CodeAssemblerLabel;
+class CodeAssemblerState;
+class Node;
+}
// List of code stubs used on all platforms.
#define CODE_STUB_LIST_ALL_PLATFORMS(V) \
@@ -925,7 +931,7 @@ class FastCloneShallowArrayStub : public TurboFanCodeStub {
compiler::Node* closure,
compiler::Node* literal_index,
compiler::Node* context,
- CodeStubAssembler::Label* call_runtime,
+ compiler::CodeAssemblerLabel* call_runtime,
AllocationSiteMode allocation_site_mode);
AllocationSiteMode allocation_site_mode() const {
@@ -952,9 +958,9 @@ class FastCloneShallowObjectStub : public TurboFanCodeStub {
}
static compiler::Node* GenerateFastPath(
- CodeStubAssembler* assembler,
- compiler::CodeAssembler::Label* call_runtime, compiler::Node* closure,
- compiler::Node* literals_index, compiler::Node* properties_count);
+ CodeStubAssembler* assembler, compiler::CodeAssemblerLabel* call_runtime,
+ compiler::Node* closure, compiler::Node* literals_index,
+ compiler::Node* properties_count);
static bool IsSupported(ObjectLiteral* expr);
static int PropertiesCount(int literal_length);
« no previous file with comments | « no previous file | src/code-stubs-hydrogen.cc » ('j') | src/code-stubs-hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698