mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 08:33:14 +01:00
Removed D_InlineAsm and D_InlineAsm_X86 versions.
Made use of 'naked' in inline asm an error.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user