This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r181813 - in /trunk/gcc/go: ChangeLog Make-lang...


Author: ian
Date: Tue Nov 29 19:10:50 2011
New Revision: 181813

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181813
Log:
compiler: Define and use backend-independent Location class.

>From Sanjoy Das.

	* go-location.h: New file.
	* go-linemap.cc: New file.
	* go-gcc.cc: Change all uses of source_location to Location.
	* Make-lang.in (GO_OBJS): Add go/go-linemap.o.
	(GO_LINEMAP_H): New variable.
	(GO_LEX_H): Use $(GO_LINEMAP_H).
	(GO_GOGO_H, GO_TYPES_H, GO_IMPORT_H): Likewise.
	(go/go-linemap.o): New target.

Added:
    trunk/gcc/go/go-linemap.cc
    trunk/gcc/go/go-location.h
    trunk/gcc/go/gofrontend/go-linemap.h
Modified:
    trunk/gcc/go/ChangeLog
    trunk/gcc/go/Make-lang.in
    trunk/gcc/go/go-gcc.cc
    trunk/gcc/go/gofrontend/backend.h
    trunk/gcc/go/gofrontend/dataflow.cc
    trunk/gcc/go/gofrontend/export.cc
    trunk/gcc/go/gofrontend/expressions.cc
    trunk/gcc/go/gofrontend/expressions.h
    trunk/gcc/go/gofrontend/go.cc
    trunk/gcc/go/gofrontend/gogo-tree.cc
    trunk/gcc/go/gofrontend/gogo.cc
    trunk/gcc/go/gofrontend/gogo.h
    trunk/gcc/go/gofrontend/import-archive.cc
    trunk/gcc/go/gofrontend/import.cc
    trunk/gcc/go/gofrontend/import.h
    trunk/gcc/go/gofrontend/lex.cc
    trunk/gcc/go/gofrontend/lex.h
    trunk/gcc/go/gofrontend/parse.cc
    trunk/gcc/go/gofrontend/parse.h
    trunk/gcc/go/gofrontend/runtime.cc
    trunk/gcc/go/gofrontend/runtime.h
    trunk/gcc/go/gofrontend/statements.cc
    trunk/gcc/go/gofrontend/statements.h
    trunk/gcc/go/gofrontend/types.cc
    trunk/gcc/go/gofrontend/types.h
    trunk/gcc/go/gofrontend/unsafe.cc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]