Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Delta Between Two Patch Sets: src/pkg/runtime/runtime.h

Issue 112570044: code review 112570044: cmd/gc, runtime: treat slices and strings like pointers... (Closed)
Left Patch Set: diff -r ef2344f636e4 https://code.google.com/p/go/ Created 10 years, 8 months ago
Right Patch Set: diff -r 6d5c17d94e9ddcd8ca450ac62f84cf9ddb436b65 https://code.google.com/p/go/ Created 10 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/runtime/mgc0.c ('k') | src/pkg/runtime/stack.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
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 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 extern uint32 runtime·panicking; 755 extern uint32 runtime·panicking;
756 extern int8* runtime·goos; 756 extern int8* runtime·goos;
757 extern int32 runtime·ncpu; 757 extern int32 runtime·ncpu;
758 extern bool runtime·iscgo; 758 extern bool runtime·iscgo;
759 extern void (*runtime·sysargs)(int32, uint8**); 759 extern void (*runtime·sysargs)(int32, uint8**);
760 extern uintptr runtime·maxstring; 760 extern uintptr runtime·maxstring;
761 extern uint32 runtime·cpuid_ecx; 761 extern uint32 runtime·cpuid_ecx;
762 extern uint32 runtime·cpuid_edx; 762 extern uint32 runtime·cpuid_edx;
763 extern DebugVars runtime·debug; 763 extern DebugVars runtime·debug;
764 extern uintptr runtime·maxstacksize; 764 extern uintptr runtime·maxstacksize;
765 extern byte* runtime·gcdatamask;
766 extern byte* runtime·gcbssmask;
767 extern Note runtime·signote; 765 extern Note runtime·signote;
768 766
769 /* 767 /*
770 * common functions and data 768 * common functions and data
771 */ 769 */
772 int32 runtime·strcmp(byte*, byte*); 770 int32 runtime·strcmp(byte*, byte*);
773 int32 runtime·strncmp(byte*, byte*, uintptr); 771 int32 runtime·strncmp(byte*, byte*, uintptr);
774 byte* runtime·strstr(byte*, byte*); 772 byte* runtime·strstr(byte*, byte*);
775 intgo runtime·findnull(byte*); 773 intgo runtime·findnull(byte*);
776 intgo runtime·findnullw(uint16*); 774 intgo runtime·findnullw(uint16*);
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 extern float64 runtime·neginf; 1130 extern float64 runtime·neginf;
1133 extern uint64 ·nan; 1131 extern uint64 ·nan;
1134 extern uint64 ·posinf; 1132 extern uint64 ·posinf;
1135 extern uint64 ·neginf; 1133 extern uint64 ·neginf;
1136 #define ISNAN(f) ((f) != (f)) 1134 #define ISNAN(f) ((f) != (f))
1137 1135
1138 enum 1136 enum
1139 { 1137 {
1140 UseSpanType = 1, 1138 UseSpanType = 1,
1141 }; 1139 };
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b