d: Split up d-frontend.cc into multiple parts.
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 2 Jun 2020 14:29:26 +0000 (16:29 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Thu, 4 Jun 2020 16:19:59 +0000 (18:19 +0200)
commit2803d2f27cdb7b892bf5490ffd6d9309a966fb62
tree0f7396c0473fd0c2b9a3e93ea67037973cedac41
parent5261cf8ce824bfc75eb6f12ad5e3716c085b6f9a
d: Split up d-frontend.cc into multiple parts.

gcc/d/ChangeLog:

* Make-lang.in (D_OBJS): Add d-compiler.o, d-ctfloat.o, d-port.o.
* d-frontend.cc (Port::memicmp): Move to d-port.cc.
(Port::strupr): Likewise.
(Port::isFloat32LiteralOutOfRange): Likewise.
(Port::isFloat64LiteralOutOfRange): Likewise.
(Port::readwordLE): Likewise.
(Port::readwordBE): Likewise.
(Port::readlongLE): Likewise.
(Port::readlongBE): Likewise.
(Port::valcpy): Likewise.
(CTFloat::fabs): Move to d-ctfloat.cc.
(CTFloat::ldexp): Likewise.
(CTFloat::isIdentical): Likewise.
(CTFloat::isNaN): Likewise.
(CTFloat::isSNaN): Likewise.
(CTFloat::isInfinity): Likewise.
(CTFloat::parse): Likewise.
(CTFloat::sprint): Likewise.
(CTFloat::hash): Likewise.
(Compiler::genCmain): Move to d-compiler.cc.
(Compiler::paintAsType): Likewise.
(Compiler::loadModule): Likewise.
* d-compiler.cc: New file.
* d-ctfloat.cc: New file.
* d-port.cc: New file.
gcc/d/Make-lang.in
gcc/d/d-compiler.cc [new file with mode: 0644]
gcc/d/d-ctfloat.cc [new file with mode: 0644]
gcc/d/d-frontend.cc
gcc/d/d-port.cc [new file with mode: 0644]