[LLVMbugs] [Bug 122] NEW: Core LLVM Class Hierarchy Cleanup

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Mon Nov 17 13:38:13 PST 2003


           Summary: Core LLVM Class Hierarchy Cleanup
           Product: libraries
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: sabre at nondot.org
        ReportedBy: sabre at nondot.org

It would be nice if the following changes were made to the core LLVM class

1. Type should not derive from Value.  Types are not values.  Originally
   they were made this way to make the symbol table easier to implemented,
   but that's the wrong reason.
2. The SymbolTable class should not derive from std::map, it should _contain_
   an std::map, which will allow us to simplify and understand the interface.
3. The ConstantPointerRef bridge class should be eliminated.  To do this, we
   need to make GlobalValue derive from Constant, which it should have done all
   along.  ConstantPointerRef's are an ugly wart that needs to be removed from


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list