equal
deleted
inserted
replaced
155 void convert_uncommon_traps(GraphKit& kit, const JVMState* jvms) { |
155 void convert_uncommon_traps(GraphKit& kit, const JVMState* jvms) { |
156 for (uint u = 0; u < _uncommon_traps.size(); u++) { |
156 for (uint u = 0; u < _uncommon_traps.size(); u++) { |
157 Node* uct = _uncommon_traps.at(u); |
157 Node* uct = _uncommon_traps.at(u); |
158 |
158 |
159 // Build a new call using the jvms state of the allocate |
159 // Build a new call using the jvms state of the allocate |
160 address call_addr = SharedRuntime::uncommon_trap_blob()->instructions_begin(); |
160 address call_addr = SharedRuntime::uncommon_trap_blob()->entry_point(); |
161 const TypeFunc* call_type = OptoRuntime::uncommon_trap_Type(); |
161 const TypeFunc* call_type = OptoRuntime::uncommon_trap_Type(); |
162 int size = call_type->domain()->cnt(); |
162 int size = call_type->domain()->cnt(); |
163 const TypePtr* no_memory_effects = NULL; |
163 const TypePtr* no_memory_effects = NULL; |
164 Compile* C = _stringopts->C; |
164 Compile* C = _stringopts->C; |
165 CallStaticJavaNode* call = new (C, size) CallStaticJavaNode(call_type, call_addr, "uncommon_trap", |
165 CallStaticJavaNode* call = new (C, size) CallStaticJavaNode(call_type, call_addr, "uncommon_trap", |