[svn r276] Fixed debug info for 'this' arg seemed to be broken.

This commit is contained in:
Tomas Lindquist Olsen
2008-06-12 19:59:19 +02:00
parent b1e2b66695
commit 9a28d083f8
4 changed files with 50 additions and 1260 deletions

View File

@@ -2196,8 +2196,12 @@ DValue* HaltExp::toElem(IRState* p)
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;