Mercurial > hg > truffle
comparison src/share/vm/graal/graalCompiler.hpp @ 8945:7ef66078d837
add basic invokedynamic support
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Tue, 09 Apr 2013 17:11:17 +0200 |
parents | 140d4d4ab3b9 |
children | 23762f2438b6 |
comparison
equal
deleted
inserted
replaced
8939:8fab4f4fde34 | 8945:7ef66078d837 |
---|---|
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 |