diff gen/toir.cpp @ 258:8dbddae09152 trunk

[svn r276] Fixed debug info for 'this' arg seemed to be broken.
author lindquist
date Thu, 12 Jun 2008 19:59:19 +0200
parents d61ce72c39ab
children 2e652b8ad1fd
line wrap: on
line diff
--- a/gen/toir.cpp	Thu Jun 12 18:40:47 2008 +0200
+++ b/gen/toir.cpp	Thu Jun 12 19:59:19 2008 +0200
@@ -2196,8 +2196,12 @@
     Logger::print("HaltExp::toElem: %s | %s\n", toChars(), type->toChars());
     LOG_SCOPE;
 
+#if 0
+    DtoAssert(&loc, NULL);
+#else
     // call the new (?) trap intrinsic
     p->ir->CreateCall(GET_INTRINSIC_DECL(trap),"");
+#endif
 
     new llvm::UnreachableInst(p->scopebb());
     return 0;