Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalCompiler.hpp @ 9004:9f3a77848ea2
Merge with d2c34ddac70fe8636b79944417f44d396c0f9acf
author | Michael Haupt <michael.haupt@oracle.com> |
---|---|
date | Thu, 11 Apr 2013 11:26:38 +0200 |
parents | 7ef66078d837 |
children | 23762f2438b6 |
comparison
equal
deleted
inserted
replaced
9003:a8fea2979e63 | 9004:9f3a77848ea2 |
---|---|
66 void deopt_leaf_graph(jlong leaf_graph_id); | 66 void deopt_leaf_graph(jlong leaf_graph_id); |
67 oop dump_deopted_leaf_graphs(TRAPS); | 67 oop dump_deopted_leaf_graphs(TRAPS); |
68 | 68 |
69 // Print compilation timers and statistics | 69 // Print compilation timers and statistics |
70 virtual void print_timers(); | 70 virtual void print_timers(); |
71 | 71 |
72 static Handle get_JavaTypeFromSignature(Symbol* signature, KlassHandle accessor, TRAPS); | 72 static Handle get_JavaTypeFromSignature(Symbol* signature, KlassHandle accessor, TRAPS); |
73 static Handle get_JavaType(constantPoolHandle cp, int index, KlassHandle accessor, TRAPS); | 73 static Handle get_JavaType(constantPoolHandle cp, int index, KlassHandle accessor, TRAPS); |
74 static Handle get_JavaType(Symbol* klass_name, TRAPS); | 74 static Handle get_JavaType(Symbol* klass_name, TRAPS); |
75 static Handle get_JavaTypeFromClass(Handle javaClassHandle, TRAPS); | 75 static Handle get_JavaTypeFromClass(Handle javaClassHandle, TRAPS); |
76 static Handle get_JavaType(KlassHandle klass, TRAPS); | 76 static Handle get_JavaType(KlassHandle klass, TRAPS); |
91 static int to_index_u2(int index) { | 91 static int to_index_u2(int index) { |
92 // Swap. | 92 // Swap. |
93 return ((index & 0xFF) << 8) | (index >> 8); | 93 return ((index & 0xFF) << 8) | (index >> 8); |
94 } | 94 } |
95 | 95 |
96 static int to_index_u4(int index) { | |
97 // Swap. | |
98 return ((index & 0xFF) << 24) | ((index & 0xFF00) << 8) | ((index & 0xFF0000) >> 8) | ((index & 0xFF000000) >> 24); | |
99 } | |
100 | |
96 static void initialize_buffer_blob(); | 101 static void initialize_buffer_blob(); |
97 }; | 102 }; |
98 | 103 |
99 // Tracing macros | 104 // Tracing macros |
100 | 105 |