Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:plunky:20111110102814

Diff

Diff from 1.2 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
plunky
1.2
21 int main(int argcchar *argv[]) { return 0; }
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-09-22 08:12 +0200