Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/block.cpp @ 3929:f94227b6117b
7090259: Fix hotspot sources to build with old compilers
Summary: Fixed warnings which prevent building VM with old compilers.
Reviewed-by: never
author | kvn |
---|---|
date | Tue, 13 Sep 2011 20:28:00 -0700 |
parents | 11211f7cb5a0 |
children | 1bd45abaa507 |
comparison
equal
deleted
inserted
replaced
3928:0a63380c8ac8 | 3929:f94227b6117b |
---|---|
1105 return dist1 - dist0; | 1105 return dist1 - dist0; |
1106 } | 1106 } |
1107 | 1107 |
1108 //------------------------------trace_frequency_order-------------------------- | 1108 //------------------------------trace_frequency_order-------------------------- |
1109 // Comparison function for edges | 1109 // Comparison function for edges |
1110 static int trace_frequency_order(const void *p0, const void *p1) { | 1110 extern "C" int trace_frequency_order(const void *p0, const void *p1) { |
1111 Trace *tr0 = *(Trace **) p0; | 1111 Trace *tr0 = *(Trace **) p0; |
1112 Trace *tr1 = *(Trace **) p1; | 1112 Trace *tr1 = *(Trace **) p1; |
1113 Block *b0 = tr0->first_block(); | 1113 Block *b0 = tr0->first_block(); |
1114 Block *b1 = tr1->first_block(); | 1114 Block *b1 = tr1->first_block(); |
1115 | 1115 |