mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
Call Record Initializer
Call the common Record initializer code from constructors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142509 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
675f85d0f2
commit
004adaf345
@ -1403,9 +1403,11 @@ public:
|
|||||||
explicit Record(const std::string &N, SMLoc loc, RecordKeeper &records) :
|
explicit Record(const std::string &N, SMLoc loc, RecordKeeper &records) :
|
||||||
ID(LastID++), Name(StringInit::get(N)), Loc(loc), TrackedRecords(records),
|
ID(LastID++), Name(StringInit::get(N)), Loc(loc), TrackedRecords(records),
|
||||||
TheInit(0) {
|
TheInit(0) {
|
||||||
|
init();
|
||||||
}
|
}
|
||||||
explicit Record(Init *N, SMLoc loc, RecordKeeper &records) :
|
explicit Record(Init *N, SMLoc loc, RecordKeeper &records) :
|
||||||
ID(LastID++), Name(N), Loc(loc), TrackedRecords(records), TheInit(0) {
|
ID(LastID++), Name(N), Loc(loc), TrackedRecords(records), TheInit(0) {
|
||||||
|
init();
|
||||||
}
|
}
|
||||||
~Record() {}
|
~Record() {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user