[clever] r436 committed - - Fix build

1 view
Skip to first unread message

cle...@googlecode.com

unread,
May 17, 2011, 7:46:53 PM5/17/11
to cleve...@googlegroups.com
Revision: 436
Author: felipensp
Date: Tue May 17 16:46:31 2011
Log: - Fix build
http://code.google.com/p/clever/source/detail?r=436

Modified:
/trunk/include/astvisitor.h
/trunk/src/astvisitor.cc

=======================================
--- /trunk/include/astvisitor.h Tue May 17 07:45:31 2011
+++ /trunk/include/astvisitor.h Tue May 17 16:46:31 2011
@@ -86,7 +86,7 @@
AST_VISITOR_DECL_VIRTUAL(AssignExpr);
AST_VISITOR_DECL_VIRTUAL(ImportStmt);
AST_VISITOR_DECL_VIRTUAL(FuncDeclaration);
- AST_VISITOR_DECL_VIRTUAL(MethodDeclaration);
+ AST_VISITOR_DECL_VIRTUAL(MethodDeclaration);
AST_VISITOR_DECL_VIRTUAL(ReturnStmt);
private:
DISALLOW_COPY_AND_ASSIGN(ASTVisitor);
=======================================
--- /trunk/src/astvisitor.cc Sun Feb 13 13:55:53 2011
+++ /trunk/src/astvisitor.cc Tue May 17 16:46:31 2011
@@ -633,5 +633,12 @@

emit(OP_RETURN, &VM::return_handler, expr_value);
}
+
+/**
+ * Generates opcodes for class methods
+ */
+AST_VISITOR(CodeGenVisitor, MethodDeclaration) {
+
+}

}} // clever::ast

Reply all
Reply to author
Forward
0 new messages