Index: src/CodeGen/CodeGenerator.cc
===================================================================
--- src/CodeGen/CodeGenerator.cc	(revision da9d79b89f56b94354f0c827fba6fb3a35e61bce)
+++ src/CodeGen/CodeGenerator.cc	(revision b97ebf19ea2d54932468ff8eda61b5141683d7ce)
@@ -887,4 +887,8 @@
 		if ( asmStmt->get_instruction() ) asmStmt->get_instruction()->accept( *visitor );
 		output << " )" ;
+	}
+
+	void CodeGenerator::postvisit( DirectiveStmt * dirStmt ) {
+		output << dirStmt->directive;
 	}
 
Index: src/CodeGen/CodeGenerator.h
===================================================================
--- src/CodeGen/CodeGenerator.h	(revision da9d79b89f56b94354f0c827fba6fb3a35e61bce)
+++ src/CodeGen/CodeGenerator.h	(revision b97ebf19ea2d54932468ff8eda61b5141683d7ce)
@@ -99,4 +99,5 @@
 		void postvisit( ExprStmt * );
 		void postvisit( AsmStmt * );
+		void postvisit( DirectiveStmt * );
 		void postvisit( AsmDecl * );				// special: statement in declaration context
 		void postvisit( IfStmt * );
