[llvm-commits] [dragonegg] r158802 - /dragonegg/trunk/include/dragonegg/ABI.h
Duncan Sands
baldrick at free.fr
Wed Jun 20 01:53:23 PDT 2012
Author: baldrick
Date: Wed Jun 20 03:53:23 2012
New Revision: 158802
URL: http://llvm.org/viewvc/llvm-project?rev=158802&view=rev
Log:
Don't declare functions "static inline".
Modified:
dragonegg/trunk/include/dragonegg/ABI.h
Modified: dragonegg/trunk/include/dragonegg/ABI.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/include/dragonegg/ABI.h?rev=158802&r1=158801&r2=158802&view=diff
==============================================================================
--- dragonegg/trunk/include/dragonegg/ABI.h (original)
+++ dragonegg/trunk/include/dragonegg/ABI.h Wed Jun 20 03:53:23 2012
@@ -146,7 +146,7 @@
// getLLVMScalarTypeForStructReturn - Return LLVM Type if TY can be
// returned as a scalar, otherwise return NULL. This is the default
// target independent implementation.
-static inline
+inline
Type* getLLVMScalarTypeForStructReturn(tree_node *type, unsigned *Offset) {
Type *Ty = ConvertType(type);
uint64_t Size = getTargetData().getTypeAllocSize(Ty);
@@ -172,7 +172,7 @@
// getLLVMAggregateTypeForStructReturn - Return LLVM type if TY can be
// returns as multiple values, otherwise return NULL. This is the default
// target independent implementation.
-static inline
+inline
Type* getLLVMAggregateTypeForStructReturn(tree_node * /*type*/) {
return NULL;
}
@@ -298,7 +298,7 @@
#define LLVM_EXTRACT_MULTIPLE_RETURN_VALUE(Src,Dest,V,B) \
llvm_default_extract_multiple_return_value((Src),(Dest),(V),(B))
#endif
-static inline
+inline
void llvm_default_extract_multiple_return_value(Value * /*Src*/, Value * /*Dest*/,
bool /*isVolatile*/,
LLVMBuilder &/*Builder*/) {
More information about the llvm-commits
mailing list