Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Patch to support Gnu runtime's typed selectors. | Fariborz Jahanian | 2009-05-05 | 1 | -1/+2 | |
| | | | | | | Patch by David Chisnall. llvm-svn: 71023 | |||||
* | Implement function-try-blocks. However, there's a very subtle bug that I ↵ | Sebastian Redl | 2009-04-26 | 1 | -1/+1 | |
| | | | | | | can't track down. llvm-svn: 70155 | |||||
* | split ObjC and C++ Statements out into their own headers. | Chris Lattner | 2009-04-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 70105 | |||||
* | Remove unnused variable. | Daniel Dunbar | 2009-04-21 | 1 | -1/+0 | |
| | | | | llvm-svn: 69650 | |||||
* | Kill ASTContext::[gs]etFieldForDecl, instead we just lookup things | Daniel Dunbar | 2009-04-21 | 1 | -5/+1 | |
| | | | | | | | | when we need them -- which is exactly what some code was already doing! - No intended functionality change. llvm-svn: 69648 | |||||
* | Remove non-const form of lookupFieldDeclForIvar. | Daniel Dunbar | 2009-04-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 69563 | |||||
* | Use EmitCallArgs in EmitObjCMessageExpr. | Anders Carlsson | 2009-04-18 | 1 | -4/+1 | |
| | | | | llvm-svn: 69471 | |||||
* | FunctionDecl::getBody() is getting an ASTContext argument for use in | Douglas Gregor | 2009-04-18 | 1 | -2/+2 | |
| | | | | | | | | lazy PCH deserialization. Propagate that argument wherever it needs to be. No functionality change, except that I've tightened up a few PCH tests in preparation. llvm-svn: 69406 | |||||
* | Attributes on block functions were not being set. | Daniel Dunbar | 2009-04-17 | 1 | -1/+2 | |
| | | | | | | | - <rdar://problem/6800351> clang not producing correct large struct return code for Blocks llvm-svn: 69337 | |||||
* | Update to use hasAttr() instead of getAttr(). | Daniel Dunbar | 2009-04-13 | 1 | -1/+1 | |
| | | | | | | - No functionality change. llvm-svn: 68987 | |||||
* | Use the new EmitCallArgs function. No indented functionality change. | Anders Carlsson | 2009-04-08 | 1 | -0/+1 | |
| | | | | llvm-svn: 68652 | |||||
* | Some "prep" work for handling ObjC @-string constants that contain UTF-8. No ↵ | Steve Naroff | 2009-03-31 | 1 | -3/+1 | |
| | | | | | | | | functionality change. Changed GenerateConstantString() to take an ObjCStringLiteral (instead of a std::string). While this isn't strictly necessary, it seems cleaner and allows us to cache to "containsNonAscii" if necessary (to avoid checking in both Sema and CodeGen). llvm-svn: 68114 | |||||
* | rename some methods. | Chris Lattner | 2009-03-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 67923 | |||||
* | pull "runtime globals" into the same framework as other functions/global ↵ | Chris Lattner | 2009-03-22 | 1 | -3/+2 | |
| | | | | | | | | variables. No intended functionality change. llvm-svn: 67478 | |||||
* | Fix codegen for support for super inside block literal expressions. | Mike Stump | 2009-03-20 | 1 | -0/+2 | |
| | | | | llvm-svn: 67406 | |||||
* | More super dot-syntax property implementation | Fariborz Jahanian | 2009-03-20 | 1 | -26/+46 | |
| | | | | | | | when there is actually a property declaration used in the dot-syntax. llvm-svn: 67391 | |||||
* | Implement ir gen. for setter/getter applied to 'super' | Fariborz Jahanian | 2009-03-20 | 1 | -1/+30 | |
| | | | | | | in a property dot-syntax notation. llvm-svn: 67382 | |||||
* | ir-gen support for class getter/setter call | Fariborz Jahanian | 2009-03-10 | 1 | -4/+18 | |
| | | | | | | using property dot-syntax. llvm-svn: 66556 | |||||
* | Fixed an ir-gen bug in syntheszing a getter function | Fariborz Jahanian | 2009-03-03 | 1 | -3/+7 | |
| | | | | | | | with property type which does not match its ivar and in -fobjc-gc-only mode! llvm-svn: 65955 | |||||
* | Obscure code gen bug related to sending | Fariborz Jahanian | 2009-02-28 | 1 | -0/+2 | |
| | | | | | | | message to 'super' in a class method declared in cateogy (darwin specific). llvm-svn: 65709 | |||||
* | Enable debug info emission for objc methods. | Devang Patel | 2009-02-25 | 1 | -0/+3 | |
| | | | | llvm-svn: 65422 | |||||
* | remove some more methods from objc decls, using the iterator | Chris Lattner | 2009-02-20 | 1 | -6/+5 | |
| | | | | | | interfaces more consistently. llvm-svn: 65138 | |||||
* | Start removing the old Obj-C EH stack now that the cleanup stack is used ↵ | Anders Carlsson | 2009-02-10 | 1 | -7/+1 | |
| | | | | | | instead. llvm-svn: 64203 | |||||
* | Ensure we track all the stack depths for all break and continue points | Mike Stump | 2009-02-07 | 1 | -7/+7 | |
| | | | | | | | correctly. This should lay the ground work to throw the big switch and start code gening break and continue in the presense of vlas. llvm-svn: 64046 | |||||
* | Ensure that we don't miscodegen if vlas creap into the top of the for. | Mike Stump | 2009-02-07 | 1 | -0/+6 | |
| | | | | | | | This will allow us to generate break and continue even if vlas are involved without worry that we'll silently generate bad code. llvm-svn: 64028 | |||||
* | Fixup goto codegen in and around VLAs. | Mike Stump | 2009-02-07 | 1 | -2/+1 | |
| | | | | llvm-svn: 64014 | |||||
* | Use correct signature for calling enumeration mutation function. | Daniel Dunbar | 2009-02-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 63782 | |||||
* | Update passing of _Bool values to match what function was declared to take. | Daniel Dunbar | 2009-02-04 | 1 | -3/+3 | |
| | | | | llvm-svn: 63697 | |||||
* | Use CGCall infrastructure to call enumeration mutation function. | Daniel Dunbar | 2009-02-03 | 1 | -1/+7 | |
| | | | | llvm-svn: 63685 | |||||
* | Fix return type for calls to objc_setProperty. | Daniel Dunbar | 2009-02-03 | 1 | -1/+5 | |
| | | | | llvm-svn: 63683 | |||||
* | objc2's ir-gen for nonfragile ivar access. | Fariborz Jahanian | 2009-02-03 | 1 | -1/+10 | |
| | | | | llvm-svn: 63578 | |||||
* | Thread CGFunctionInfo construction through CodeGenTypes. | Daniel Dunbar | 2009-02-02 | 1 | -2/+3 | |
| | | | | | | - Inefficient & leaks memory currently, will be cleaned up subsequently. llvm-svn: 63567 | |||||
* | More ABI API cleanup. | Daniel Dunbar | 2009-02-02 | 1 | -3/+3 | |
| | | | | | | | - Lift CGFunctionInfo creation above ReturnTypeUsesSret and EmitFunction{Epi,Pro}log. llvm-svn: 63553 | |||||
* | ABI handling API changes. | Daniel Dunbar | 2009-02-02 | 1 | -2/+3 | |
| | | | | | | | | | | | - Lift CGFunctionInfo creation up to callers of EmitCall. - Move isVariadic bit out of CGFunctionInfo, take as argument to GetFunctionType instead. No functionality change. llvm-svn: 63550 | |||||
* | Remove ScopedDecl, collapsing all of its functionality into Decl, so | Douglas Gregor | 2009-01-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | that every declaration lives inside a DeclContext. Moved several things that don't have names but were ScopedDecls (and, therefore, NamedDecls) to inherit from Decl rather than NamedDecl, including ObjCImplementationDecl and LinkageSpecDecl. Now, we don't store empty DeclarationNames for these things, nor do we try to insert them into DeclContext's lookup structure. The serialization tests are temporarily disabled. We'll re-enable them once we've sorted out the remaining ownership/serialiazation issues between DeclContexts and TranslationUnion, DeclGroups, etc. llvm-svn: 62562 | |||||
* | Attempt to unbreak Windows build. | Daniel Dunbar | 2009-01-16 | 1 | -3/+3 | |
| | | | | llvm-svn: 62295 | |||||
* | Fix some unused variable, control reaches end of non-void function, | Daniel Dunbar | 2009-01-15 | 1 | -3/+2 | |
| | | | | | | and uninitialized use options. llvm-svn: 62270 | |||||
* | Fix a misleading comment. | Steve Naroff | 2009-01-10 | 1 | -4/+4 | |
| | | | | llvm-svn: 62031 | |||||
* | This patch fixes the code gen failures which was a fallout from | Fariborz Jahanian | 2009-01-10 | 1 | -9/+6 | |
| | | | | | | | | not merging protocol properties into the classes which use those protocols. With this patch, all my exceutable test pass again. llvm-svn: 62030 | |||||
* | assert if attempting to code gen. a property setter/getter | Fariborz Jahanian | 2009-01-10 | 1 | -0/+4 | |
| | | | | | | coming from a protocol. llvm-svn: 62017 | |||||
* | Couple of code gen. fixes in ObjC's colection-statement. Hard | Fariborz Jahanian | 2009-01-06 | 1 | -1/+3 | |
| | | | | | | to track down, easy to fix. This is on going. llvm-svn: 61817 | |||||
* | Removed a slot in ObjCMemRegExpr used in | Fariborz Jahanian | 2008-12-18 | 1 | -2/+2 | |
| | | | | | | code gen which did not belong there. llvm-svn: 61203 | |||||
* | Code gen. for ivar references; including bitfield | Fariborz Jahanian | 2008-12-15 | 1 | -1/+3 | |
| | | | | | | ivars. llvm-svn: 61043 | |||||
* | Store the size of the EH stack inside each BreakContinue struct so we know ↵ | Anders Carlsson | 2008-12-13 | 1 | -1/+2 | |
| | | | | | | when a break/continue won't cross a try block. llvm-svn: 60998 | |||||
* | Patch for ObjCIvarRefExpr containing the field | Fariborz Jahanian | 2008-12-13 | 1 | -1/+3 | |
| | | | | | | matching the storage layout for this ivar llvm-svn: 60996 | |||||
* | Support for implementation of property in the case where | Fariborz Jahanian | 2008-12-09 | 1 | -6/+8 | |
| | | | | | | | the synthesis is in an implementation of s subclass of a super class where the property has been declared. llvm-svn: 60792 | |||||
* | Change condition under which 'retain'/'copy' are directly evaluated. | Fariborz Jahanian | 2008-12-08 | 1 | -4/+6 | |
| | | | | llvm-svn: 60729 | |||||
* | Code gen for aggregate-valued properties and a test case. | Fariborz Jahanian | 2008-11-26 | 1 | -4/+7 | |
| | | | | llvm-svn: 60122 | |||||
* | Fix 80-col violations. | Daniel Dunbar | 2008-11-25 | 1 | -2/+4 | |
| | | | | llvm-svn: 60051 | |||||
* | Implemented ir-gen for 'implicit' properties using the new AST nodes. | Fariborz Jahanian | 2008-11-22 | 1 | -12/+33 | |
| | | | | llvm-svn: 59886 |