Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
705e7a17
Commit
705e7a17
authored
Jan 02, 2006
by
Michael Beck
Browse files
make defines for identical enums (firmjni build process using recoder cannot cope with)
[r7182]
parent
e9132fa5
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/tr/type.h
View file @
705e7a17
...
...
@@ -814,14 +814,18 @@ typedef enum {
cc_this_call
=
0x08000000
,
/**< The first parameter is a this pointer and is transmitted
in a special way. */
/* some often used cases */
cc_cdecl_set
=
0
,
/**< cdecl calling convention */
cc_stdcall_set
=
cc_callee_clear_stk
,
/**< stdcall calling convention */
cc_fastcall_set
=
cc_reg_param
|
cc_callee_clear_stk
,
/**< fastcall calling convention */
cc_bits
=
(
0xFF
<<
24
)
/**< the calling convention bits */
cc_bits
=
(
0xFF
<<
24
)
/**< the calling convention bits */
}
calling_convention
;
/* some often used cases: made as defines for firmjni */
/** cdecl calling convention */
#define cc_cdecl_set (0)
/** stdcall calling convention */
#define cc_stdcall_set cc_callee_clear_stk
/** fastcall calling convention */
#define cc_fastcall_set (cc_reg_param|cc_callee_clear_stk)
/** return the default calling convention for method types */
unsigned
get_default_cc_mask
(
void
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment