summaryrefslogtreecommitdiff
path: root/usr/austin/eval/expr1.go
AgeCommit message (Collapse)AuthorFilesLines
2009-10-14move austin/eval and austin/ogle to exp/eval and exp/ogleRuss Cox1-1836/+0
R=r OCL=35736 CL=35746
2009-10-11interpreter checkpoint.Russ Cox1-92/+1134
* generate different versions of binary operators for each size of int and float, so that proper truncating happens after each operation to simulate the various sized ops. * add slice expressions * publish World.CompileStmtList, CompileDeclList, CompileExpr * handle type-less expressions in CompileExpr R=austin DELTA=1459 (1327 added, 11 deleted, 121 changed) OCL=34382 CL=35581
2009-09-25s/switch _ :=/switch/Austin Clements1-25/+25
R=rsc APPROVED=rsc DELTA=36 (0 added, 0 deleted, 36 changed) OCL=34971 CL=35006
2009-09-03Thread Thread into Value Get/Set/Assign so other ValueAustin Clements1-66/+55
implementations can abort. Make genConstant get values lazily since we need the Thread now. R=rsc APPROVED=rsc DELTA=299 (8 added, 19 deleted, 272 changed) OCL=34353 CL=34353
2009-09-02move abortChan into Thread.Russ Cox1-5/+5
reuse Thread in function calls. R=austin DELTA=59 (8 added, 7 deleted, 44 changed) OCL=34266 CL=34266
2009-09-02s/vm/Thread/Russ Cox1-190/+190
change eval functions from taking *Frame to *Thread R=austin DELTA=500 (7 added, 4 deleted, 489 changed) OCL=34256 CL=34260
2009-09-02Update asInterface now that 6g type switch is fixed.Austin Clements1-15/+13
R=rsc APPROVED=rsc DELTA=31 (0 added, 4 deleted, 27 changed) OCL=34251 CL=34259
2009-09-01add generator for expr1.goRuss Cox1-269/+353
R=austin DELTA=959 (404 added, 99 deleted, 456 changed) OCL=34214 CL=34237
2009-09-01move generated code into its own file.Russ Cox1-0/+723
simplify expr by merging all simple eval functions into a single eval interface{}. R=austin DELTA=1597 (730 added, 780 deleted, 87 changed) OCL=34182 CL=34198