Index: src/x64/codegen-x64.h |
diff --git a/src/x64/codegen-x64.h b/src/x64/codegen-x64.h |
index 2c2c29fabc52372c9d836be89e5791178a06bbfc..5f04b3fbbb4a794139067af93438d0ae9daacee7 100644 |
--- a/src/x64/codegen-x64.h |
+++ b/src/x64/codegen-x64.h |
@@ -32,6 +32,7 @@ namespace v8 { |
namespace internal { |
// Forward declarations |
+class CompilationInfo; |
class DeferredCode; |
class RegisterAllocator; |
class RegisterFile; |
@@ -297,7 +298,8 @@ class CodeGenerator: public AstVisitor { |
// be called by compiler.cc. |
static Handle<Code> MakeCode(FunctionLiteral* fun, |
Handle<Script> script, |
- bool is_eval); |
+ bool is_eval, |
+ CompilationInfo* info); |
// Printing of AST, etc. as requested by flags. |
static void MakeCodePrologue(FunctionLiteral* fun); |
@@ -380,7 +382,7 @@ class CodeGenerator: public AstVisitor { |
void VisitStatementsAndSpill(ZoneList<Statement*>* statements); |
// Main code generation function |
- void GenCode(FunctionLiteral* fun); |
+ void GenCode(FunctionLiteral* fun, CompilationInfo* info); |
// Generate the return sequence code. Should be called no more than |
// once per compiled function, immediately after binding the return |