- 28 Jul, 2009 10 commits
-
-
Rob Pike authored
- derive int, uint, float, uintptr decoders based on their size - add overflow checks in decode R=rsc DELTA=407 (281 added, 44 deleted, 82 changed) OCL=32286 CL=32290
-
Rob Pike authored
R=rsc DELTA=16 (16 added, 0 deleted, 0 changed) OCL=32288 CL=32288
-
Rob Pike authored
R=rsc DELTA=5 (5 added, 0 deleted, 0 changed) OCL=32283 CL=32287
-
Phil Pennock authored
R=r,gri,rsc APPROVED=rsc DELTA=53 (12 added, 6 deleted, 35 changed) OCL=31822 CL=32282
-
Austin Clements authored
pointer to the Type instead of the address of the Type. R=rsc APPROVED=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=32265 CL=32279
-
Russ Cox authored
R=ken OCL=32261 CL=32261
-
Austin Clements authored
unpacking for assignments, call arguments, and returns. This change revamps the whole assignment compilation system to be multi-valued, using the new MultiType type and multiV value. Function calls, returns, and assignments now share a lot of code and produce very consistent error messages. R=rsc APPROVED=rsc DELTA=510 (335 added, 74 deleted, 101 changed) OCL=32248 CL=32258
-
Russ Cox authored
R=ken OCL=32257 CL=32257
-
Rob Pike authored
R=rsc DELTA=160 (124 added, 0 deleted, 36 changed) OCL=32233 CL=32256
-
Russ Cox authored
R=ken OCL=32255 CL=32255
-
- 27 Jul, 2009 14 commits
-
-
Russ Cox authored
R=ken OCL=32253 CL=32253
-
Russ Cox authored
R=ken OCL=32252 CL=32252
-
Russ Cox authored
for slice or string x. R=ken OCL=32249 CL=32249
-
Austin Clements authored
R=rsc APPROVED=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=32245 CL=32247
-
Russ Cox authored
R=ken OCL=32244 CL=32244
-
Russ Cox authored
a := true; a |= a; in the front end. R=ken OCL=32240 CL=32243
-
Russ Cox authored
R=ken OCL=32239 CL=32239
-
Ivan Krasin authored
the size of chunk with uncompressed data (00 is terms of DEFLATE). APPROVED=rsc DELTA=15 (14 added, 0 deleted, 1 changed) OCL=32105 CL=32238
-
Russ Cox authored
saving of sp was too far away from use in scanstack; the stack had changed since the sp was saved. R=r DELTA=9 (4 added, 2 deleted, 3 changed) OCL=32232 CL=32237
-
Austin Clements authored
function calling. Implement a type compiler and named types. Implement a universal scope containing built-in named types, and some built-in constants. Implement a simple virtual machine for executing statements and single-valued return. Fix many places that incorrectly dealt with named types. In particular, the Type.Zero methods now use the type's bit count to determine the appropriate value representation. As a result, a bit count of 0 now means architecture-dependent and bounded types use unsafe.Sizeof to determine the correct bounds. Previously, the bounds on a 32-bit machine would have been wrong. Eliminated Type.compatible, since the implementation is equivalent for all types. Added Type.rep that shallowly strips named types. Replaced almost all uses of Type.literal with Type.rep. Fix implementation of assign-op's so it only evaluates the left side once. As part of this, there is now a generic way to separate out the effect and value of an expression. R=rsc APPROVED=rsc DELTA=1530 (1244 added, 68 deleted, 218 changed) OCL=32184 CL=32230
-
Russ Cox authored
TBR=r OCL=32225 CL=32225
-
Rob Pike authored
R=rsc DELTA=298 (202 added, 0 deleted, 96 changed) OCL=32006 CL=32224
-
Russ Cox authored
R=gri DELTA=2 (2 added, 0 deleted, 0 changed) OCL=32214 CL=32223
-
Russ Cox authored
R=r,iant DELTA=2 (0 added, 0 deleted, 2 changed) OCL=32215 CL=32222
-
- 26 Jul, 2009 1 commit
-
-
David Symonds authored
R=r APPROVED=gri DELTA=23 (23 added, 0 deleted, 0 changed) OCL=32106 CL=32189
-
- 24 Jul, 2009 1 commit
-
-
Ian Lance Taylor authored
fails without crashing. R=gri DELTA=1 (0 added, 0 deleted, 1 changed) OCL=32164 CL=32171
-
- 22 Jul, 2009 3 commits
-
-
Russ Cox authored
so that golden.out does not include the name of the compiler (which is arch-specific and shows up in diffs). R=r,iant DELTA=3 (0 added, 0 deleted, 3 changed) OCL=31980 CL=31983
-
Russ Cox authored
if there is a goroutine waiting to run and the init goroutine enters a system call, entersyscall was trying to kick off a new scheduler for the other goroutine, causing a panic (new goroutines can't run until main.main). R=r DELTA=32 (32 added, 0 deleted, 0 changed) OCL=31982 CL=31982
-
Russ Cox authored
R=r DELTA=51 (14 added, 24 deleted, 13 changed) OCL=31968 CL=31971
-
- 21 Jul, 2009 11 commits
-
-
Russ Cox authored
just like ONAME etc. R=ken OCL=31964 CL=31964
-
Rob Pike authored
R=rsc DELTA=16 (9 added, 3 deleted, 4 changed) OCL=31956 CL=31963
-
Austin Clements authored
R=rsc APPROVED=rsc DELTA=591 (497 added, 76 deleted, 18 changed) OCL=31933 CL=31955
-
Rob Pike authored
as go is concerned). the -d flag is now flipped; as on the mac, -d disables dynamic. much remains to be improved to move the output closer to the gcc format. R=rsc DELTA=366 (310 added, 30 deleted, 26 changed) OCL=31929 CL=31951
-
Robert Griesemer authored
R=rsc DELTA=3 (0 added, 0 deleted, 3 changed) OCL=31944 CL=31950
-
Robert Griesemer authored
- use array for common small values - integer.go, rational.go don't contain changes besides the added file header R=rsc DELTA=1475 (748 added, 713 deleted, 14 changed) OCL=31939 CL=31942
-
Ian Lance Taylor authored
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31916 CL=31937
-
Ian Lance Taylor authored
R=r DELTA=12 (12 added, 0 deleted, 0 changed) OCL=31915 CL=31936
-
Robert Griesemer authored
R=rsc DELTA=195 (146 added, 1 deleted, 48 changed) OCL=31895 CL=31931
-
Austin Clements authored
all type-specific value functions, and use ZeroVal to create new frames. Remove Value.Type; it was unused and difficult for values with composite types. Add Value.Assign methods. R=rsc APPROVED=rsc DELTA=282 (135 added, 90 deleted, 57 changed) OCL=31894 CL=31930
-
Ian Lance Taylor authored
R=rsc DELTA=5 (0 added, 0 deleted, 5 changed) OCL=31900 CL=31900
-