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); |