Mercurial > hg > graal-compiler
comparison src/share/vm/classfile/defaultMethods.cpp @ 7462:ade95d680b42
8004728: Add hotspot support for parameter reflection
Summary: Add hotspot support for parameter reflection
Reviewed-by: acorn, jrose, coleenp
Contributed-by: eric.mccorkle@oracle.com
author | coleenp |
---|---|
date | Tue, 08 Jan 2013 14:01:36 -0500 |
parents | b2dbd323c668 |
children | 2dce7c34c564 |
comparison
equal
deleted
inserted
replaced
7460:6c3f47d964f3 | 7462:ade95d680b42 |
---|---|
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, 0, mt, CHECK_NULL); | 1151 code_length, flags, 0, 0, 0, 0, 0, 0, |
1152 mt, CHECK_NULL); | |
1152 | 1153 |
1153 m->set_constants(NULL); // This will get filled in later | 1154 m->set_constants(NULL); // This will get filled in later |
1154 m->set_name_index(cp->utf8(name)); | 1155 m->set_name_index(cp->utf8(name)); |
1155 m->set_signature_index(cp->utf8(sig)); | 1156 m->set_signature_index(cp->utf8(sig)); |
1156 #ifdef CC_INTERP | 1157 #ifdef CC_INTERP |