Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: gcc/config/i386/i386.h

Issue 8479017: Add a compatibility function attribute (and flag) for nacl-gcc to (Closed) Base URL: http://git.chromium.org/native_client/nacl-gcc.git@master
Patch Set: period Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gcc/config/i386/i386.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/config/i386/i386.h
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index 23c0d183eef9a8b69a0b6df6ff70911c87d83334..debcc27a5d49728e2c336ecbda8f3ca7f4bf0189 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -1572,6 +1572,7 @@ typedef struct ix86_args {
int nregs; /* # registers available for passing */
int regno; /* next available register number */
int fastcall; /* fastcall calling convention is used */
+ int pnaclcall; /* pnaclcall calling convention is used */
int sse_words; /* # sse words passed so far */
int sse_nregs; /* # sse registers available for passing */
int warn_avx; /* True when we want to warn about AVX ABI. */
@@ -2404,6 +2405,8 @@ struct machine_function GTY(())
/* This value is used for amd64 targets and specifies the current abi
to be used. MS_ABI means ms abi. Otherwise SYSV_ABI means sysv abi. */
int call_abi;
+ /* Indicates whether or not the function was declared as pnaclcall. */
+ int pnaclcall;
};
#define ix86_stack_locals (cfun->machine->stack_locals)
« no previous file with comments | « no previous file | gcc/config/i386/i386.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698