Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:faceless:20100722163636

Diff

Diff from 1.1 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/pcc/pcc-tests/regress/jira/PCC-158.c

Annotated File View

faceless
1.1
1 /* 
2  * PCC-158
3  *  pcc does not support the attribute "allways_inline"
4  *
5  */
6 struct _TEB;
7
8 static inline __attribute__((always_inline)) struct _TEB * __attribute__((__stdcall__)) NtCurrentTeb(void)
9 {
10             struct _TEB *teb;
11                      __asm__(".byte 0x64\n\tmovl (0x18),%0" : "=r" (teb));
12                               return teb;
13 }
14
15 struct _TEB * foo(void)
16 {
17             return NtCurrentTeb();
18 }
19
20
21 int main () { 
22
23         return 0
24
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-10-01 22:22 +0200