Skip to content
  1. Mar 20, 2017
  2. Mar 19, 2017
  3. Mar 18, 2017
    • Rui Ueyama's avatar
      Compute Config member function return values only once. · d57e74b7
      Rui Ueyama authored
      We had a few Config member functions that returns configuration values.
      For example, we had is64() which returns true if the target is 64-bit.
      The return values of these functions are constant and never change.
      
      This patch is to compute them only once to make it clear that they'll
      never change.
      
      llvm-svn: 298168
      d57e74b7
    • Rui Ueyama's avatar
      Define Config::isLE and Config::wordsize. · fd06b734
      Rui Ueyama authored
      isLE() return true if the target is little-endian.
      wordsize() returns 8 for 64-bit and 4 for 32-bit.
      
      llvm-svn: 298167
      fd06b734
  4. Mar 17, 2017
Loading