Implement review feedback. Aliasees can be either GlobalValue's or
[oota-llvm.git] / include / llvm / Bytecode / BytecodeHandler.h
index eeae2a58d6f17c9a3e077af0e58674d4f6a52728..e45266bb2c3ca03511124cc45fec0602ff69eb66 100644 (file)
@@ -112,9 +112,16 @@ public:
     GlobalValue::LinkageTypes,///< The linkage type of the GV
     GlobalValue::VisibilityTypes,///< The visibility style of the GV
     unsigned SlotNum,         ///< Slot number of GV
-    unsigned initSlot         ///< Slot number of GV's initializer (0 if none)
+    unsigned initSlot,         ///< Slot number of GV's initializer (0 if none)
+    bool isThreadLocal        ///< Whether the GV is thread local or not
   ) {}
 
+  virtual void handleGlobalAlias(
+    const Type* ElemType,
+    GlobalValue::LinkageTypes Linkage,
+    unsigned TypeSlotNum,
+    unsigned AliaseeSlot) { }
+  
   /// This method is called when a type list is recognized. It simply
   /// provides the number of types that the list contains. The handler
   /// should expect that number of calls to handleType.