Skip to content
  1. Feb 10, 2009
  2. Feb 03, 2009
  3. Feb 02, 2009
  4. Jan 23, 2009
  5. Jan 21, 2009
  6. Jan 10, 2009
  7. Dec 16, 2008
  8. Nov 21, 2008
  9. Nov 20, 2008
  10. Nov 19, 2008
  11. Nov 18, 2008
  12. Nov 15, 2008
  13. Nov 01, 2008
  14. Sep 24, 2008
  15. Sep 09, 2008
  16. Aug 31, 2008
  17. Aug 30, 2008
    • Daniel Dunbar's avatar
      Add Objective-C property setter support. · 4b8c6db9
      Daniel Dunbar authored
       - Change Obj-C runtime message API, drop the ObjCMessageExpr arg in
         favor of just result type and selector. Necessary so it can be
         reused in situations where we don't want to cons up an
         ObjCMessageExpr.
       - Update aggregate binary assignment to know about special property
         ref lvalues.
       - Add CodeGenFunction::EmitCallArg overload which takes an already
         emitted rvalue.
      
      Add CodeGenFunction::StoreComplexIntoAddr.
      
      Disabled logic in Sema for parsing Objective-C dot-syntax that
      accesses methods. This code does not search in the correct order and
      the AST node has no way of properly representing its results.
      
      Updated StmtDumper to print a bit more information about
      ObjCPropertyRefExprs.
      
      llvm-svn: 55561
      4b8c6db9
    • Daniel Dunbar's avatar
      Refactor handling of calls: · c722b856
      Daniel Dunbar authored
       - Added CodeGenFunction::EmitCall which just takes the callee, return
         type, and a list of (Value*,QualType) pairs.
       - Added CodeGenFunction::EmitCallArg which handles emitting code for
         a call argument and turning it into an appropriate
         (Value*,QualType) pair.
       - Changed Objective-C runtime interface so that the actual emission
         of arguments for message sends is (once again) done in the code to
         emit a message send.
      
      No intended functionality change, this is prep work for better ABI
      support and for Objective-C property setter support.
      
      llvm-svn: 55560
      c722b856
  18. Aug 25, 2008
  19. Aug 23, 2008
    • Daniel Dunbar's avatar
      Trim CGObjCRuntime::GenerateMessageSend[Super] · 97db84ce
      Daniel Dunbar authored
       - Returns an RValue.
       - Reduced to only taking the CodeGenFunction, Expr, and Receiver.
       - Becomes responsible for emitting the arguments.
      
      Add CodeGenFunction::EmitCallExprExt
       - Takes optional extra arguments to insert at the head of the call.
       - This allows the Obj-C runtimes to call into this and isolates the
         argument and call instruction generation code to one place. Upshot
         is that we now pass structures (more) correctly.
      
      Also, fix one aspect of generating methods which take structure
      arguments (for NeXT). This probably needs to be merged with the
      SetFunctionAttributes code in CodeGenModule.cpp
      
      llvm-svn: 55223
      97db84ce
  20. Aug 16, 2008
    • Daniel Dunbar's avatar
      Change ObjCRuntime::LookupClass -> GetClass, and now takes the · 7c6d3a7c
      Daniel Dunbar authored
        ObjCInterfaceDecl.
      
      Change ObjCRuntime::GenerateMessageSendSuper to take the
        ObjCInterfaceDecl for the super class, instead of just its name.
      
      Change EmitObjCMessageExpr to make the right runtime calls for super
        sends in class methods (i.e. a super send with the class object as
        the receiver).
      
      llvm-svn: 54833
      7c6d3a7c
    • Daniel Dunbar's avatar
      Change CGObjCRuntime methods to take appropriate clang Decls. · 92992509
      Daniel Dunbar authored
       - This is in prep for implementation class support for the NeXT
         runtime, for which the existing methods don't provide enough
         information (and additionally make too many assumptions about how
         things should be emitted).
      
      llvm-svn: 54824
      92992509
  21. Aug 13, 2008
  22. Aug 12, 2008
    • Daniel Dunbar's avatar
      Drop Sender from GenerateMessageSend* · 5d71559c
      Daniel Dunbar authored
       - Was unused and generated a unnecessary load of self
      
      Update NeXT runtime to get proper object & selector types from
             ASTContext.
      
      llvm-svn: 54667
      5d71559c
    • Daniel Dunbar's avatar
      Protocol related tweaks · 6630e10c
      Daniel Dunbar authored
       - Implement type conversion of ObjCQualifiedIdType
       - Wire @protocol(...) to GenerateProtocolRef in ScalarExprEmitter
      
      llvm-svn: 54666
      6630e10c
    • Daniel Dunbar's avatar
      Add ObjC constant string support for NeXT. · 8b8683f9
      Daniel Dunbar authored
      Changed CGObjCRuntime::GenerateConstantString interface to take
             std::string instead of char* and size.
      
      Change ObjC functions which call on GenerateConstantString to bitcast
             result to appropriate type.
      
      llvm-svn: 54659
      8b8683f9
  23. Aug 11, 2008
  24. Aug 08, 2008
  25. Jun 26, 2008
Loading