Index: src/compiler/code-generator.h |
diff --git a/src/compiler/code-generator.h b/src/compiler/code-generator.h |
index 2a3ade52a2c1f4b03a83b19b8a4447ba6b1ece23..46610dbde7f5f9cc9796b1215141ae754b00b255 100644 |
--- a/src/compiler/code-generator.h |
+++ b/src/compiler/code-generator.h |
@@ -5,8 +5,6 @@ |
#ifndef V8_COMPILER_CODE_GENERATOR_H_ |
#define V8_COMPILER_CODE_GENERATOR_H_ |
-#include <deque> |
- |
#include "src/compiler/gap-resolver.h" |
#include "src/compiler/instruction.h" |
#include "src/deoptimizer.h" |
@@ -17,7 +15,9 @@ namespace v8 { |
namespace internal { |
namespace compiler { |
+// Forward declarations. |
class Linkage; |
+class OutOfLineCode; |
struct BranchInfo { |
FlagsCondition condition; |
@@ -129,6 +129,8 @@ class CodeGenerator FINAL : public GapResolver::Assembler { |
int pc_offset_; |
}; |
+ friend class OutOfLineCode; |
+ |
Frame* const frame_; |
Linkage* const linkage_; |
InstructionSequence* const code_; |
@@ -143,6 +145,7 @@ class CodeGenerator FINAL : public GapResolver::Assembler { |
ZoneDeque<Handle<Object> > deoptimization_literals_; |
TranslationBuffer translations_; |
int last_lazy_deopt_pc_; |
+ OutOfLineCode* ools_; |
}; |
} // namespace compiler |