OLD | NEW |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 /* | 5 /* |
6 * basic types | 6 * basic types |
7 */ | 7 */ |
8 typedef signed char int8; | 8 typedef signed char int8; |
9 typedef unsigned char uint8; | 9 typedef unsigned char uint8; |
10 typedef signed short int16; | 10 typedef signed short int16; |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 uint32 freglo[16]; // D[i] lsb and F[i] | 266 uint32 freglo[16]; // D[i] lsb and F[i] |
267 uint32 freghi[16]; // D[i] msb and F[i+16] | 267 uint32 freghi[16]; // D[i] msb and F[i+16] |
268 uint32 fflag; // floating point compare flags | 268 uint32 fflag; // floating point compare flags |
269 M* nextwaitm; // next M waiting for lock | 269 M* nextwaitm; // next M waiting for lock |
270 uintptr waitsema; // semaphore for parking on locks | 270 uintptr waitsema; // semaphore for parking on locks |
271 uint32 waitsemacount; | 271 uint32 waitsemacount; |
272 uint32 waitsemalock; | 272 uint32 waitsemalock; |
273 GCStats gcstats; | 273 GCStats gcstats; |
274 bool racecall; | 274 bool racecall; |
275 void* racepc; | 275 void* racepc; |
| 276 uint32 moreframesize_minalloc; |
276 | 277 |
277 uintptr settype_buf[1024]; | 278 uintptr settype_buf[1024]; |
278 uintptr settype_bufsize; | 279 uintptr settype_bufsize; |
279 | 280 |
280 #ifdef GOOS_windows | 281 #ifdef GOOS_windows |
281 void* thread; // thread handle | 282 void* thread; // thread handle |
282 #endif | 283 #endif |
283 SEH* seh; | 284 SEH* seh; |
284 uintptr end[]; | 285 uintptr end[]; |
285 }; | 286 }; |
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
866 extern float64 runtime·neginf; | 867 extern float64 runtime·neginf; |
867 extern uint64 ·nan; | 868 extern uint64 ·nan; |
868 extern uint64 ·posinf; | 869 extern uint64 ·posinf; |
869 extern uint64 ·neginf; | 870 extern uint64 ·neginf; |
870 #define ISNAN(f) ((f) != (f)) | 871 #define ISNAN(f) ((f) != (f)) |
871 | 872 |
872 enum | 873 enum |
873 { | 874 { |
874 UseSpanType = 1, | 875 UseSpanType = 1, |
875 }; | 876 }; |
OLD | NEW |