mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
Add Name Init Record Constructor
Add a Record constructor that takes the Record name as an Init. This is more work toward paste functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142508 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0abdadbce7
commit
675f85d0f2
@ -1404,6 +1404,9 @@ public:
|
||||
ID(LastID++), Name(StringInit::get(N)), Loc(loc), TrackedRecords(records),
|
||||
TheInit(0) {
|
||||
}
|
||||
explicit Record(Init *N, SMLoc loc, RecordKeeper &records) :
|
||||
ID(LastID++), Name(N), Loc(loc), TrackedRecords(records), TheInit(0) {
|
||||
}
|
||||
~Record() {}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user