Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-04-06 | Use backend interface for constant switch statements. | Ian Lance Taylor | 5 | -81/+271 | |
* go-gcc.cc (if_statement): Use build3_loc. (Gcc_backend::switch_statement): New function. (Gcc_backend::statement_list): New function. From-SVN: r172066 | |||||
2011-04-06 | Use backend interface for if statements. | Ian Lance Taylor | 5 | -29/+71 | |
Rename some temporary conversion functions to shorter names. * go-gcc.cc (Gcc_backend::if_statement): New function. (tree_to_stat): New function. (expr_to_tree): Renamed from expression_to_tree. (stat_to_tree): Renamed from statement_to_tree. From-SVN: r172052 | |||||
2011-04-06 | Use backend interface for expression statements. | Ian Lance Taylor | 4 | -2/+32 | |
* go-gcc.cc (Gcc_backend::expression_statement): New function. From-SVN: r172051 | |||||
2011-04-05 | Use backend interface for labels and goto statements. | Ian Lance Taylor | 9 | -99/+267 | |
* go-gcc.c (class Blabel): Define. (Gcc_backend::make_expression): New function. (get_identifier_from_string): New function. (Gcc_backend::label): New function. (Gcc_backend::label_definition_statement): New function. (Gcc_backend::goto_statement): New function. (Gcc_backend::label_address): New function. (expression_to_tree): New function. * Make-lang.in (go/expressions.o): Depend on go/gofrontend/backend.h. (go/gogo.o): Likewise. From-SVN: r171968 | |||||
2011-04-04 | Use backend interface for return statements. | Ian Lance Taylor | 12 | -289/+254 | |
* go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h". (class Bfunction): Define. (Gcc_backend::assignment_statement): Rename from assignment. Check for errors. (Gcc_backend::return_statement): New function. (tree_to_function): New function. * Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h, $(GIMPLE_H), and $(GO_GOGO_H). From-SVN: r171959 | |||||
2011-04-03 | Start using backend interface separate from gofrontend. | Ian Lance Taylor | 8 | -12/+361 | |
* go-gcc.cc: New file. * Make-lang.in (GO_OBJS): Add go/go-gcc.o. (go/go-gcc.o): New target. (go/go.o): Depend on go/gofrontend/backend.h. (go/statements.o): Likewise. From-SVN: r171917 | |||||
2011-03-31 | Taking a slice of an array requires moving the array to the heap. | Ian Lance Taylor | 1 | -4/+7 | |
From-SVN: r171792 | |||||
2011-03-29 | Fix select setting a map expression. | Ian Lance Taylor | 1 | -24/+26 | |
Also fix select parsing when declaring a variable with no statements. From-SVN: r171690 | |||||
2011-03-28 | Permit copying hidden fields when passing method receiver. | Ian Lance Taylor | 3 | -7/+45 | |
From-SVN: r171641 | |||||
2011-03-28 | Better error message for invalid variable name in switch statement. | Ian Lance Taylor | 1 | -0/+13 | |
From-SVN: r171639 | |||||
2011-03-28 | Better error message for missing condition in if statement. | Ian Lance Taylor | 1 | -0/+6 | |
From-SVN: r171638 | |||||
2011-03-28 | Better error message for old syntax of send expression as value. | Ian Lance Taylor | 2 | -19/+72 | |
From-SVN: r171637 | |||||
2011-03-28 | Better error messages for missing channel element type. | Ian Lance Taylor | 1 | -0/+17 | |
From-SVN: r171634 | |||||
2011-03-28 | Do not permit method expressions with pointers to interface types. | Ian Lance Taylor | 1 | -3/+5 | |
From-SVN: r171633 | |||||
2011-03-28 | Support method expressions for interface types. | Ian Lance Taylor | 1 | -5/+26 | |
From-SVN: r171631 | |||||
2011-03-28 | Don't bother to check for duplicate interface/named methods. | Ian Lance Taylor | 1 | -9/+1 | |
A named interface type can't have named methods anyhow. From-SVN: r171630 | |||||
2011-03-28 | Fix useless assertion in ^ code. | Ian Lance Taylor | 1 | -1/+1 | |
From-SVN: r171619 | |||||
2011-03-27 | Error for return with no values when result parameters are not named. | Ian Lance Taylor | 1 | -3/+13 | |
From-SVN: r171576 | |||||
2011-03-27 | Improve error about indirecting an unsafe.Pointer type. | Ian Lance Taylor | 1 | -0/+8 | |
From-SVN: r171574 | |||||
2011-03-26 | Don't look up methods for pointer to interface. | Ian Lance Taylor | 1 | -5/+4 | |
From-SVN: r171562 | |||||
2011-03-26 | Don't permit embedded field to be pointer to interface. | Ian Lance Taylor | 2 | -1/+12 | |
From-SVN: r171558 | |||||
2011-03-26 | Check for invalid uses of ... in builtin function calls. | Ian Lance Taylor | 2 | -0/+12 | |
From-SVN: r171544 | |||||
2011-03-26 | Better error when setting const to nil. | Ian Lance Taylor | 1 | -1/+3 | |
From-SVN: r171541 | |||||
2011-03-26 | Correctly parse select case <-c <- v. | Ian Lance Taylor | 1 | -4/+12 | |
From-SVN: r171540 | |||||
2011-03-25 | Clean up handling of undefined types. | Ian Lance Taylor | 5 | -91/+60 | |
From-SVN: r171528 | |||||
2011-03-25 | Avoid overflow error after negative shift count error. | Ian Lance Taylor | 1 | -1/+7 | |
From-SVN: r171523 | |||||
2011-03-25 | Give an error if a label is defined but not used. | Ian Lance Taylor | 4 | -28/+90 | |
From-SVN: r171518 | |||||
2011-03-25 | Remove closed function. Fix tuple receive in select. | Ian Lance Taylor | 5 | -68/+67 | |
From-SVN: r171440 | |||||
2011-03-24 | Tuple receives indicate whether channel is closed. | Ian Lance Taylor | 7 | -128/+279 | |
From-SVN: r171380 | |||||
2011-03-24 | Condition in if statement is not optional. | Ian Lance Taylor | 2 | -28/+13 | |
From-SVN: r171377 | |||||
2011-03-24 | Change c <- v from an expression to a statement. | Ian Lance Taylor | 7 | -204/+171 | |
Don't do anything special if we don't use the value of <-c. Fix sending an untyped constant in a select statement. From-SVN: r171371 | |||||
2011-03-16 | Update to current version of Go library (revision 94d654be2064). | Ian Lance Taylor | 1 | -2/+14 | |
From-SVN: r171076 | |||||
2011-03-07 | Support multiple init functions in a single file. | Ian Lance Taylor | 2 | -21/+19 | |
From-SVN: r170756 | |||||
2011-03-07 | Fix second import of package using _. | Ian Lance Taylor | 1 | -6/+8 | |
From-SVN: r170755 | |||||
2011-03-07 | Handle predeclared names used as fields in struct composite literals. | Ian Lance Taylor | 2 | -35/+25 | |
From-SVN: r170754 | |||||
2011-03-03 | Don't crash if erroneous type was not converted. | Ian Lance Taylor | 1 | -1/+6 | |
From-SVN: r170646 | |||||
2011-03-03 | Don't crash on large composite literal array index. | Ian Lance Taylor | 1 | -0/+26 | |
From-SVN: r170645 | |||||
2011-03-03 | Don't crash calling make with NaN or Infinity. | Ian Lance Taylor | 1 | -1/+1 | |
From-SVN: r170644 | |||||
2011-03-03 | Make sure variable type is determined when var initialized to var. | Ian Lance Taylor | 5 | -11/+25 | |
From-SVN: r170643 | |||||
2011-03-03 | Don't crash getting type descriptor of abstract types. | Ian Lance Taylor | 1 | -4/+9 | |
From-SVN: r170642 | |||||
2011-03-03 | Don't look for methods on named pointer types. | Ian Lance Taylor | 1 | -3/+1 | |
From-SVN: r170640 | |||||
2011-03-03 | Determine call types even if first call result is not used. | Ian Lance Taylor | 2 | -6/+31 | |
From-SVN: r170637 | |||||
2011-03-03 | Don't crash declaring a function named "_". | Ian Lance Taylor | 1 | -5/+8 | |
From-SVN: r170636 | |||||
2011-03-03 | Don't crash on erroneous void initializer in temporary statement. | Ian Lance Taylor | 1 | -4/+6 | |
From-SVN: r170635 | |||||
2011-03-03 | Fix type of discarded send expression. | Ian Lance Taylor | 1 | -1/+4 | |
From-SVN: r170634 | |||||
2011-03-03 | Don't crash on erroneous named result. | Ian Lance Taylor | 1 | -2/+8 | |
From-SVN: r170633 | |||||
2011-03-03 | Don't crash if a constant has a declared but undefined type. | Ian Lance Taylor | 1 | -1/+10 | |
From-SVN: r170632 | |||||
2011-03-03 | Rewrite conversion of named types to backend representation. | Ian Lance Taylor | 7 | -311/+576 | |
From-SVN: r170627 | |||||
2011-02-28 | Move ChangeLog entry to correct ChangeLog file. | Ian Lance Taylor | 1 | -0/+4 | |
From-SVN: r170577 | |||||
2011-02-24 | Don't delete old arguments when lowering varargs. | Ian Lance Taylor | 1 | -2/+3 | |
From-SVN: r170474 |