[llvm-commits] [gcc-plugin] r80594 - in /gcc-plugin/trunk: llvm-cache.c llvm-cache.h
Duncan Sands
baldrick at free.fr
Mon Aug 31 09:57:33 PDT 2009
Author: baldrick
Date: Mon Aug 31 11:57:33 2009
New Revision: 80594
URL: http://llvm.org/viewvc/llvm-project?rev=80594&view=rev
Log:
Do not expose the definition of tree_llvm_map
in the header. It is an internal detail.
Modified:
gcc-plugin/trunk/llvm-cache.c
gcc-plugin/trunk/llvm-cache.h
Modified: gcc-plugin/trunk/llvm-cache.c
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-cache.c?rev=80594&r1=80593&r2=80594&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-cache.c (original)
+++ gcc-plugin/trunk/llvm-cache.c Mon Aug 31 11:57:33 2009
@@ -33,6 +33,11 @@
#include "stdio.h" //QQ
+struct GTY(()) tree_llvm_map {
+ struct tree_map_base base;
+ const void * GTY((skip)) val;
+};
+
#define tree_llvm_map_eq tree_map_base_eq
#define tree_llvm_map_hash tree_map_base_hash
#define tree_llvm_map_marked_p tree_map_base_marked_p
Modified: gcc-plugin/trunk/llvm-cache.h
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-cache.h?rev=80594&r1=80593&r2=80594&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-cache.h (original)
+++ gcc-plugin/trunk/llvm-cache.h Mon Aug 31 11:57:33 2009
@@ -35,12 +35,6 @@
#include "target.h"
#include "tree.h"
-struct GTY(()) tree_llvm_map {
- struct tree_map_base base;
- const void *val;
-};
-/* FIXME: Need to use gengtype and tell the GC about this. */
-
extern bool llvm_has_cached (union tree_node *);
extern const void *llvm_get_cached (union tree_node *);
More information about the llvm-commits
mailing list