hotspot/src/share/vm/opto/block.cpp
changeset 10537 23539f11e110
parent 10266 2ea344c79e33
child 11191 d54ab5dcba83
--- a/hotspot/src/share/vm/opto/block.cpp	Tue Sep 13 16:58:35 2011 -0700
+++ b/hotspot/src/share/vm/opto/block.cpp	Tue Sep 13 20:28:00 2011 -0700
@@ -1107,7 +1107,7 @@
 
 //------------------------------trace_frequency_order--------------------------
 // Comparison function for edges
-static int trace_frequency_order(const void *p0, const void *p1) {
+extern "C" int trace_frequency_order(const void *p0, const void *p1) {
   Trace *tr0 = *(Trace **) p0;
   Trace *tr1 = *(Trace **) p1;
   Block *b0 = tr0->first_block();