mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 21:51:03 +03:00
glue code does not need to be C++ (#15850)
This commit is contained in:
parent
b59bc93e2d
commit
4a7d803384
6 changed files with 0 additions and 12 deletions
|
@ -74,8 +74,6 @@ import dmd.backend.symtab;
|
||||||
import dmd.backend.ty;
|
import dmd.backend.ty;
|
||||||
import dmd.backend.type;
|
import dmd.backend.type;
|
||||||
|
|
||||||
extern (C++):
|
|
||||||
|
|
||||||
alias Elems = Array!(elem *);
|
alias Elems = Array!(elem *);
|
||||||
|
|
||||||
import dmd.backend.util2 : mem_malloc2;
|
import dmd.backend.util2 : mem_malloc2;
|
||||||
|
|
|
@ -195,8 +195,6 @@ public void generateCodeAndWrite(Module[] modules, const(char)*[] libmodules,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extern (C++):
|
|
||||||
|
|
||||||
//extern
|
//extern
|
||||||
public __gshared Symbol* bzeroSymbol; /// common location for immutable zeros
|
public __gshared Symbol* bzeroSymbol; /// common location for immutable zeros
|
||||||
|
|
||||||
|
|
|
@ -67,8 +67,6 @@ import dmd.backend.symtab;
|
||||||
import dmd.backend.ty;
|
import dmd.backend.ty;
|
||||||
import dmd.backend.type;
|
import dmd.backend.type;
|
||||||
|
|
||||||
extern (C++):
|
|
||||||
|
|
||||||
alias StmtState = dmd.stmtstate.StmtState!block;
|
alias StmtState = dmd.stmtstate.StmtState!block;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -59,8 +59,6 @@ import dmd.backend.cgcv;
|
||||||
import dmd.backend.symtab;
|
import dmd.backend.symtab;
|
||||||
import dmd.backend.ty;
|
import dmd.backend.ty;
|
||||||
|
|
||||||
extern (C++):
|
|
||||||
|
|
||||||
|
|
||||||
/*************************************
|
/*************************************
|
||||||
* Helper
|
* Helper
|
||||||
|
|
|
@ -155,8 +155,6 @@ struct IRState
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extern (C++):
|
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* Produce elem which increments the usage count for a particular line.
|
* Produce elem which increments the usage count for a particular line.
|
||||||
* Sets corresponding bit in bitmap `m.covb[linnum]`.
|
* Sets corresponding bit in bitmap `m.covb[linnum]`.
|
||||||
|
|
|
@ -75,8 +75,6 @@ import dmd.backend.oper;
|
||||||
import dmd.backend.ty;
|
import dmd.backend.ty;
|
||||||
import dmd.backend.type;
|
import dmd.backend.type;
|
||||||
|
|
||||||
extern (C++):
|
|
||||||
|
|
||||||
/* ================================================================== */
|
/* ================================================================== */
|
||||||
|
|
||||||
// Put out instance of ModuleInfo for this Module
|
// Put out instance of ModuleInfo for this Module
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue