[llvm-commits] [dragonegg] r107391 - /dragonegg/trunk/llvm-cache.c
Duncan Sands
baldrick at free.fr
Thu Jul 1 04:10:59 PDT 2010
Author: baldrick
Date: Thu Jul 1 06:10:59 2010
New Revision: 107391
URL: http://llvm.org/viewvc/llvm-project?rev=107391&view=rev
Log:
Move the garbage collector header up - declarations in it are needed by the
following code when using gcc-4.6.
Modified:
dragonegg/trunk/llvm-cache.c
Modified: dragonegg/trunk/llvm-cache.c
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-cache.c?rev=107391&r1=107390&r2=107391&view=diff
==============================================================================
--- dragonegg/trunk/llvm-cache.c (original)
+++ dragonegg/trunk/llvm-cache.c Thu Jul 1 06:10:59 2010
@@ -43,6 +43,9 @@
param_is(struct tree_llvm_map)))
htab_t llvm_cache;
+// Garbage collector header
+#include "gt-llvm-cache.h"
+
/// llvm_has_cached - Returns whether a value has been associated with the tree.
bool llvm_has_cached(union tree_node *tree) {
struct tree_map_base in;
@@ -129,5 +132,3 @@
htab_traverse(llvm_cache, replace, &u);
}
-
-#include "gt-llvm-cache.h"
More information about the llvm-commits
mailing list