__declspec support for function declarations.
safe: indicates that the function can safely be called with an "all off" execution mask. costN: (N an integer) overrides the cost estimate for the function with the given value.
This commit is contained in:
8
type.h
8
type.h
@@ -801,6 +801,14 @@ public:
|
||||
function in the source program. */
|
||||
const bool isExternC;
|
||||
|
||||
/** Indicates whether this function has been declared to be safe to run
|
||||
with an all-off mask. */
|
||||
bool isSafe;
|
||||
|
||||
/** If non-negative, this provides a user-supplied override to the cost
|
||||
function estimate for the function. */
|
||||
int costOverride;
|
||||
|
||||
private:
|
||||
const Type * const returnType;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user