- 07 May, 2009 9 commits
-
-
Russ Cox authored
also tests method calls on ptr to interface value. R=r DELTA=74 (74 added, 0 deleted, 0 changed) OCL=28419 CL=28424
-
Russ Cox authored
with method m, s.m() is ok and m now shows up in s's method set for interface runtime. see http://cl/28419-p2 for new test interface10.go. R=ken OCL=28420 CL=28423
-
Russ Cox authored
net code on IPv4-only machines. R=r DELTA=27 (25 added, 0 deleted, 2 changed) OCL=28404 CL=28411
-
Russ Cox authored
part 2; missing files R=ken OCL=28408 CL=28410
-
Russ Cox authored
replace "shape error across CALL" with more information. x.go:7: not enough arguments to CALL a int, b int int x.go:10: assignment count mismatch: 3 = 2 x.go:12: too many arguments to RETURN [no arguments expected] int, int, int also leave type alone after conversion failure, for later errors: bug049.go:6: cannot convert nil constant to string bug049.go:6: illegal types for operand: EQ string nil # this used to be blank R=ken OCL=28405 CL=28407
-
Russ Cox authored
TEXT tramp MOVQ 8(SP), AX ADDQ $40, AX MOVQ AX, 8(SP) JMP oldfunc is now TEXT tramp ADDQ $40, 8(SP) JMP oldfunc and if s/40/0/, then it simplifies to TEXT tramp JMP oldfunc (the tramp is still needed to satisfy symbol references from other object files) R=ken OCL=28377 CL=28381
-
Russ Cox authored
R=r DELTA=134 (134 added, 0 deleted, 0 changed) OCL=28373 CL=28380
-
Russ Cox authored
will submit with fixed compiler R=r DELTA=2 (0 added, 0 deleted, 2 changed) OCL=28371 CL=28379
-
Russ Cox authored
R=ken OCL=28374 CL=28378
-
- 06 May, 2009 12 commits
-
-
Robert Griesemer authored
- format-driven pretty printing now handles all of Go code - better error handling R=r OCL=28370 CL=28372
-
Russ Cox authored
R=r OCL=28369 CL=28369
-
Russ Cox authored
so that 6l can discard strings used by dead code. also, for short strings, generate DUPOK global symbols so that references to, say, "%s: %s" in multiple files result in only a single symbol. R=ken OCL=28361 CL=28361
-
Rob Pike authored
fix that and clean up state handling a little. R=rsc DELTA=44 (18 added, 8 deleted, 18 changed) OCL=28359 CL=28359
-
Ken Thompson authored
R=r OCL=28321 CL=28357
-
Rob Pike authored
TBR=gri OCL=28320 CL=28320
-
Ken Thompson authored
R=r OCL=28319 CL=28319
-
Robert Griesemer authored
R=r DELTA=9298 (4760 added, 4536 deleted, 2 changed) OCL=28317 CL=28317
-
Russ Cox authored
R=ken OCL=28314 CL=28314
-
Rob Pike authored
simplify run.bash now that lib has make test that recurs. R=rsc DELTA=1179 (578 added, 596 deleted, 5 changed) OCL=28313 CL=28313
-
Robert Griesemer authored
R=r DELTA=40 (40 added, 0 deleted, 0 changed) OCL=28308 CL=28311
-
Rob Pike authored
no substantive changes except: - new Makefiles, all auto-generated - go/src/lib/Makefile has been extensively edited R=rsc OCL=28310 CL=28310
-
- 05 May, 2009 8 commits
-
-
Russ Cox authored
* byteastring is no longer used * do not generate ODCL, OAS for globals (wasn't generating any code but might save one or two init functions) * do not call self from Init function R=ken OCL=28309 CL=28309
-
Russ Cox authored
R=r DELTA=42 (20 added, 22 deleted, 0 changed) OCL=28295 CL=28295
-
Russ Cox authored
editing the firstp list was ineffective, because follow rebuilds it from the textp list. the symbols for dead code were being dropped from the binary but the code was all still there. text for fmt.Printf("hello, world\n") drops from 143945 to 128650. R=r,ken DELTA=22 (20 added, 0 deleted, 2 changed) OCL=28255 CL=28290
-
Robert Griesemer authored
- more light-weight - better buffer management - added test cases R=r DELTA=227 (167 added, 35 deleted, 25 changed) OCL=28252 CL=28289
-
Russ Cox authored
R=r DELTA=10 (0 added, 10 deleted, 0 changed) OCL=28258 CL=28287
-
Russ Cox authored
R=r DELTA=17 (2 added, 9 deleted, 6 changed) OCL=28286 CL=28286
-
Rob Pike authored
R=rsc DELTA=6 (1 added, 0 deleted, 5 changed) OCL=28242 CL=28256
-
Ken Thompson authored
1. dont clear external and heap objects 2. propagate constant assignment R=r OCL=28254 CL=28254
-
- 04 May, 2009 3 commits
-
-
David Symonds authored
It now exports a Var interface (anyone can export their own custom var types now), so users need to create and manage their own vars and mark them as exportable via the Publish function. They are exposed via /debug/vars. R=r,rsc APPROVED=r DELTA=605 (314 added, 186 deleted, 105 changed) OCL=28143 CL=28239
-
Robert Griesemer authored
(this corresponds to the currently running version of godoc) R=r DELTA=11 (0 added, 10 deleted, 1 changed) OCL=28238 CL=28238
-
Ken Thompson authored
R=r OCL=28204 CL=28204
-
- 03 May, 2009 2 commits
-
-
Ken Thompson authored
R=r OCL=28201 CL=28201
-
David Symonds authored
R=gri APPROVED=gri DELTA=1 (0 added, 0 deleted, 1 changed) OCL=28184 CL=28192
-
- 02 May, 2009 5 commits
-
-
Ian Lance Taylor authored
value has been received. This failed with gccgo before today. R=ken,r DELTA=18 (18 added, 0 deleted, 0 changed) OCL=28185 CL=28190
-
Robert Griesemer authored
- template-driven ast printing now can successfully reproduce entire Go programs next steps: - fine-tuning of output - print interspersed comments - cleanup and testing against all Go programs - replace astprinter R=r OCL=28181 CL=28181
-
Ken Thompson authored
drip init function if it doesnt do anything R=r OCL=28180 CL=28180
-
Ken Thompson authored
better calling of morestack R=r OCL=28179 CL=28179
-
Robert Griesemer authored
R=r DELTA=16 (0 added, 3 deleted, 13 changed) OCL=28133 CL=28178
-
- 01 May, 2009 1 commit
-
-
Kai Backman authored
of 5g. 5l balks at the output and running 5g with -S shows the true extent of the disaster. Still, better than yesterday. Maybe. Tested on the canonical: package main func main() { } R=rsc APPROVED=rsc DELTA=4182 (4181 added, 0 deleted, 1 changed) OCL=27601 CL=28175
-