Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/classFileParser.cpp @ 23614:32b682649973 jdk8u75-b04
8132051: Better byte behavior
Reviewed-by: coleenp, roland
author | kevinw |
---|---|
date | Fri, 15 Jan 2016 22:33:15 +0000 |
parents | c2c7fed86a5e |
children | b5f3a471e646 d109bda16490 |
comparison
equal
deleted
inserted
replaced
23613:b374548dcb48 | 23614:32b682649973 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
2415 | 2415 |
2416 // Fill in information from fixed part (access_flags already set) | 2416 // Fill in information from fixed part (access_flags already set) |
2417 m->set_constants(_cp); | 2417 m->set_constants(_cp); |
2418 m->set_name_index(name_index); | 2418 m->set_name_index(name_index); |
2419 m->set_signature_index(signature_index); | 2419 m->set_signature_index(signature_index); |
2420 #ifdef CC_INTERP | 2420 |
2421 // hmm is there a gc issue here?? | |
2422 ResultTypeFinder rtf(_cp->symbol_at(signature_index)); | 2421 ResultTypeFinder rtf(_cp->symbol_at(signature_index)); |
2423 m->set_result_index(rtf.type()); | 2422 m->constMethod()->set_result_type(rtf.type()); |
2424 #endif | |
2425 | 2423 |
2426 if (args_size >= 0) { | 2424 if (args_size >= 0) { |
2427 m->set_size_of_parameters(args_size); | 2425 m->set_size_of_parameters(args_size); |
2428 } else { | 2426 } else { |
2429 m->compute_size_of_parameters(THREAD); | 2427 m->compute_size_of_parameters(THREAD); |