OSDN Git Service

Call Record Initializer
[android-x86/external-llvm.git] / include / llvm / TableGen / Record.h
index 87763a7..f7a48c4 100644 (file)
@@ -1403,9 +1403,11 @@ public:
   explicit Record(const std::string &N, SMLoc loc, RecordKeeper &records) :
     ID(LastID++), Name(StringInit::get(N)), Loc(loc), TrackedRecords(records),
       TheInit(0) {
+    init();
   }
   explicit Record(Init *N, SMLoc loc, RecordKeeper &records) :
     ID(LastID++), Name(N), Loc(loc), TrackedRecords(records), TheInit(0) {
+    init();
   }
   ~Record() {}