| Index: src/x64/codegen-x64.h
|
| diff --git a/src/x64/codegen-x64.h b/src/x64/codegen-x64.h
|
| index 466d69821ff5fcc587308ff2e701adedf4eeec14..2f5dbdc7e36099fb3c9e0196b361bbe9088951d2 100644
|
| --- a/src/x64/codegen-x64.h
|
| +++ b/src/x64/codegen-x64.h
|
| @@ -308,6 +308,9 @@ class CodeGenerator: public AstVisitor {
|
| Code::Flags flags,
|
| CompilationInfo* info);
|
|
|
| + // Print the code after compiling it.
|
| + static void PrintCode(Handle<Code> code, CompilationInfo* info);
|
| +
|
| #ifdef ENABLE_LOGGING_AND_PROFILING
|
| static bool ShouldGenerateLog(Expression* type);
|
| #endif
|
| @@ -370,8 +373,9 @@ class CodeGenerator: public AstVisitor {
|
| // Node visitors.
|
| void VisitStatements(ZoneList<Statement*>* statements);
|
|
|
| -#define DEF_VISIT(type) \
|
| - void Visit##type(type* node);
|
| + virtual void VisitSlot(Slot* node);
|
| +#define DEF_VISIT(type) \
|
| + virtual void Visit##type(type* node);
|
| AST_NODE_LIST(DEF_VISIT)
|
| #undef DEF_VISIT
|
|
|
|
|