Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update malloc call creation code (AllocType is now the element type of the ↵ | Victor Hernandez | 2009-09-18 | 1 | -41/+55 |
| | | | | | | | | | | | | | | | | | | malloc, not the resulting type). In getMallocArraySize(), fix bug in the case that array size is the product of 2 constants. Extend isArrayMalloc() and getMallocArraySize() to handle case where malloc is used as char array. Ensure that ArraySize in LowerAllocations::runOnBasicBlock() is correct type. Extend Instruction::isSafeToSpeculativelyExecute() to handle malloc calls. Add verification for malloc calls. Reviewed by Dan Gohman. llvm-svn: 82257 | ||||
* | Fit code within 80 columns | Victor Hernandez | 2009-09-10 | 1 | -2/+4 |
| | | | | llvm-svn: 81459 | ||||
* | Add some braces to make newer GCCs happy and update CMakeLists. | Benjamin Kramer | 2009-09-10 | 1 | -1/+1 |
| | | | | llvm-svn: 81443 | ||||
* | Add malloc call utility functions. Patch by Victor Hernandez. | Evan Cheng | 2009-09-10 | 1 | -0/+202 |
llvm-svn: 81426 |