Removed D_InlineAsm and D_InlineAsm_X86 versions.

Made use of 'naked' in inline asm an error.
This commit is contained in:
Tomas Lindquist Olsen 2008-08-25 19:36:27 +02:00
parent 09532a4242
commit d78677961b
2 changed files with 6 additions and 6 deletions

View file

@ -538,10 +538,11 @@ void DtoDefineFunc(FuncDeclaration* fd)
Logger::println("DtoDefineFunc(%s): %s", fd->toPrettyChars(), fd->loc.toChars());
LOG_SCOPE;
// warn about naked
// error on naked
if (fd->naked)
{
warning("%s: naked is currently ignored", fd->locToChars());
fd->error("naked is not supported");
fatal();
}
// debug info