Skip to content
  1. Jul 15, 2004
    • Chris Lattner's avatar
      ** Finally DeclareNewGlobalValue is dead! · 8abe1a11
      Chris Lattner authored
      * Simplify a lot of code because type's cannot be in function symbol tables
      * Fix memory leaks in handling of redefined function prototypes
      * Don't use SymbolTable directly for stuff that we can go through the Module
        for.
      * Fix some minor bugs on obscure testcases like:
            test/Feature/globalredefinition.ll
      * Do not create GlobalVariable objects for forward referenced Functions!
      * When forward referencing a function in a constant expression, do not create
        a placeholder, add a bunch of references to it, then turn around and
        replaceAllUsesOfWith on it with a new global, deleting the placeholder.
        Instead, when we find the real definition of the global, just use the
        placeholder instead of creating a new object.
      
      This substantially simplifies the asmwriter and should even speed it up on
      cases heavy in constantexprs (like C++, Java, MSIL)...
      
      llvm-svn: 14830
      8abe1a11
  2. Jul 14, 2004
  3. Jul 13, 2004
  4. Jul 12, 2004
  5. Jul 11, 2004
    • Reid Spencer's avatar
      Various cleanups: · 194c576e
      Reid Spencer authored
      - Remove tabs
      - Standardize use of space around ( and ).
      - Consolidate the ConstantPlaceHolder class
      - Rename two methods to be more meaningful (ParseType, ParseTypes)
      - Correct indentation of blocks
      - Add documentation
      - Convert input dependent asserts to error(...) so it throws instead.
      Provide placeholder implementations of read_float and read_double that
      still read in platform-specific endianess. When I figure out how to do
      this without knowing the endianess of the platform, it will get implemented
      correctly.
      
      llvm-svn: 14765
      194c576e
    • Reid Spencer's avatar
      - Rename two methods to give them more meaning · db3bf19a
      Reid Spencer authored
      - Add read_float and read_double in preparation for a correct
        implementation of bytecode floating point support.
      
      llvm-svn: 14764
      db3bf19a
    • Reid Spencer's avatar
      Remove tabs. · cf5c6e4a
      Reid Spencer authored
      llvm-svn: 14763
      cf5c6e4a
    • Reid Spencer's avatar
      Prepare the writer for a non-broken implementation of writing floating · a64b62ef
      Reid Spencer authored
      point values. This will be fixed when I figure out how to do it correctly
      without depending on knowing the endianess of a platform.
      
      llvm-svn: 14762
      a64b62ef
Loading