mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-01 07:30:43 +03:00
Removed D_InlineAsm and D_InlineAsm_X86 versions.
Made use of 'naked' in inline asm an error.
This commit is contained in:
parent
09532a4242
commit
d78677961b
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue