Mercurial > projects > ldc
diff gen/asmstmt.cpp @ 225:74701ba40398 trunk
[svn r241] Fixed missing terminator for void main() with inline asm block.
author | lindquist |
---|---|
date | Fri, 06 Jun 2008 22:30:31 +0200 |
parents | 116cc012409b |
children | 4145266ff4bd |
line wrap: on
line diff
--- a/gen/asmstmt.cpp Fri Jun 06 22:04:41 2008 +0200 +++ b/gen/asmstmt.cpp Fri Jun 06 22:30:31 2008 +0200 @@ -76,18 +76,18 @@ const LLType* ret = LLType::VoidTy; if (!output_values.empty()) { - std::cout << "memory outputs" << std::endl; assert(output_values.size() == 1); const LLType* llty = DtoType(output_values[0]->getType()); + std::cout << "out: " << *llty << '\n'; params.push_back(llty); } // inputs if (!input_values.empty()) { - std::cout << "inputs" << std::endl; assert(input_values.size() == 1); const LLType* llty = DtoType(input_values[0]->getType()); + std::cout << "in: " << *llty << '\n'; params.push_back(llty); }