Skip to content
  1. Nov 25, 2009
    • Devang Patel's avatar
      Revert r89803. · d23ea6a3
      Devang Patel authored
      llvm-svn: 89819
      d23ea6a3
    • Douglas Gregor's avatar
    • Douglas Gregor's avatar
      Eliminate CXXConditionDeclExpr with extreme prejudice. · 7bab5ff8
      Douglas Gregor authored
      All statements that involve conditions can now hold on to a separate
      condition declaration (a VarDecl), and will use a DeclRefExpr
      referring to that VarDecl for the condition expression. ForStmts now
      have such a VarDecl (I'd missed those in previous commits).
      
      Also, since this change reworks the Action interface for
      if/while/switch/for, use FullExprArg for the full expressions in those
      expressions, to ensure that we're emitting
      
      Note that we are (still) not generating the right cleanups for
      condition variables in for statements. That will be a follow-on
      commit.
      
      llvm-svn: 89817
      7bab5ff8
    • Sebastian Redl's avatar
      Have the parser tell sema whether a member declaration is a function... · d6f78501
      Sebastian Redl authored
      Have the parser tell sema whether a member declaration is a function definition. This allows sema to not emit spurious diagnostics in some invalid code.
      
      llvm-svn: 89816
      d6f78501
    • Bob Wilson's avatar
      Refactor target hook for tail duplication as requested by Chris. · d4d40670
      Bob Wilson authored
      Make tail duplication of indirect branches much more aggressive (for targets
      that indicate that it is profitable), based on further experience with
      this transformation.  I compiled 3 large applications with and without
      this more aggressive tail duplication and measured minimal changes in code
      size.  ("size" on Darwin seems to round the text size up to the nearest
      page boundary, so I can only say that any code size increase was less than
      one 4k page.) Radar 7421267.
      
      llvm-svn: 89814
      d4d40670
  2. Nov 24, 2009
Loading