Index: src/Common/PassVisitor.impl.h
===================================================================
--- src/Common/PassVisitor.impl.h	(revision 60914351ad58d1338a7f0f9215f04d28bdc2c624)
+++ src/Common/PassVisitor.impl.h	(revision bc6f9183d7f12eaeee38caea9daf1b32b27f002a)
@@ -737,10 +737,24 @@
 template< typename pass_type >
 void PassVisitor< pass_type >::visit( AsmStmt * node ) {
-	VISIT_BODY( node );
+	VISIT_START( node )
+
+	maybeAccept_impl( node->instruction, *this );
+	maybeAccept_impl( node->output, *this );
+	maybeAccept_impl( node->input, *this );
+	maybeAccept_impl( node->clobber, *this );
+
+	VISIT_END( node );
 }
 
 template< typename pass_type >
 Statement * PassVisitor< pass_type >::mutate( AsmStmt * node ) {
-	MUTATE_BODY( Statement, node );
+	MUTATE_START( node );
+
+	maybeMutate_impl( node->instruction, *this );
+	maybeMutate_impl( node->output, *this );
+	maybeMutate_impl( node->input, *this );
+	maybeMutate_impl( node->clobber, *this );
+
+	MUTATE_END( Statement, node );
 }
 
