This is the mail archive of the gcc-patches@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]

[jit] Remove some dead code


Pushed to the dmalcolm/jit branch:

gcc/jit/ChangeLog.jit:
	* dummy-frontend.c (jit_langhook_init): Remove some dead code.
---
 gcc/jit/ChangeLog.jit    | 4 ++++
 gcc/jit/dummy-frontend.c | 3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/gcc/jit/ChangeLog.jit b/gcc/jit/ChangeLog.jit
index ce0ad40..90fccdb 100644
--- a/gcc/jit/ChangeLog.jit
+++ b/gcc/jit/ChangeLog.jit
@@ -1,3 +1,7 @@
+2014-10-30  David Malcolm  <dmalcolm@redhat.com>
+
+	* dummy-frontend.c (jit_langhook_init): Remove some dead code.
+
 2014-10-27  David Malcolm  <dmalcolm@redhat.com>
 
 	* dummy-frontend.c: Drop includes of tree-iterator.h,
diff --git a/gcc/jit/dummy-frontend.c b/gcc/jit/dummy-frontend.c
index de7789e..33f126f 100644
--- a/gcc/jit/dummy-frontend.c
+++ b/gcc/jit/dummy-frontend.c
@@ -101,9 +101,6 @@ struct ggc_root_tab jit_root_tab[] =
 static bool
 jit_langhook_init (void)
 {
-  // eventually this can be a GTY object, and can thus mark
-  // our state without dealing with gengtype...
-  //g->frontend_ = new frontend ();
   static bool registered_root_tab = false;
   if (!registered_root_tab)
     {
-- 
1.7.11.7


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