[llvm-commits] CVS: llvm/include/llvm/Bytecode/BytecodeHandler.h

Anton Korobeynikov asl at math.spbu.ru
Sat Apr 28 06:45:50 PDT 2007



Changes in directory llvm/include/llvm/Bytecode:

BytecodeHandler.h updated: 1.18 -> 1.19
---
Log message:

Implement review feedback. Aliasees can be either GlobalValue's or 
bitcasts of them.


---
Diffs of the changes:  (+6 -0)

 BytecodeHandler.h |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm/include/llvm/Bytecode/BytecodeHandler.h
diff -u llvm/include/llvm/Bytecode/BytecodeHandler.h:1.18 llvm/include/llvm/Bytecode/BytecodeHandler.h:1.19
--- llvm/include/llvm/Bytecode/BytecodeHandler.h:1.18	Thu Apr 12 13:32:50 2007
+++ llvm/include/llvm/Bytecode/BytecodeHandler.h	Sat Apr 28 08:44:59 2007
@@ -116,6 +116,12 @@
     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.






More information about the llvm-commits mailing list