Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/defaultMethods.cpp @ 7212:291ffc492eb6
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 14 Dec 2012 14:35:13 +0100 |
parents | b2dbd323c668 |
children | ade95d680b42 |
comparison
equal
deleted
inserted
replaced
7163:2ed8d74e5984 | 7212:291ffc492eb6 |
---|---|
1146 | 1146 |
1147 address code_start = static_cast<address>(bytecodes->adr_at(0)); | 1147 address code_start = static_cast<address>(bytecodes->adr_at(0)); |
1148 int code_length = bytecodes->length(); | 1148 int code_length = bytecodes->length(); |
1149 | 1149 |
1150 Method* m = Method::allocate(cp->pool_holder()->class_loader_data(), | 1150 Method* m = Method::allocate(cp->pool_holder()->class_loader_data(), |
1151 code_length, flags, 0, 0, 0, 0, mt, CHECK_NULL); | 1151 code_length, flags, 0, 0, 0, 0, 0, mt, CHECK_NULL); |
1152 | 1152 |
1153 m->set_constants(NULL); // This will get filled in later | 1153 m->set_constants(NULL); // This will get filled in later |
1154 m->set_name_index(cp->utf8(name)); | 1154 m->set_name_index(cp->utf8(name)); |
1155 m->set_signature_index(cp->utf8(sig)); | 1155 m->set_signature_index(cp->utf8(sig)); |
1156 m->set_generic_signature_index(0); | |
1157 #ifdef CC_INTERP | 1156 #ifdef CC_INTERP |
1158 ResultTypeFinder rtf(sig); | 1157 ResultTypeFinder rtf(sig); |
1159 m->set_result_index(rtf.type()); | 1158 m->set_result_index(rtf.type()); |
1160 #endif | 1159 #endif |
1161 m->set_size_of_parameters(params); | 1160 m->set_size_of_parameters(params); |