hotspot/src/share/vm/ci/ciMethod.hpp
changeset 7913 dd096a83bdbb
parent 7432 f06f1253c317
child 9323 20cc2230dc8a
equal deleted inserted replaced
7901:ea3d83447861 7913:dd096a83bdbb
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2011, 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.
   142 
   142 
   143   int comp_level();
   143   int comp_level();
   144 
   144 
   145   Bytecodes::Code java_code_at_bci(int bci) {
   145   Bytecodes::Code java_code_at_bci(int bci) {
   146     address bcp = code() + bci;
   146     address bcp = code() + bci;
   147     return Bytecodes::java_code_at(bcp);
   147     return Bytecodes::java_code_at(NULL, bcp);
   148   }
   148   }
   149   BCEscapeAnalyzer  *get_bcea();
   149   BCEscapeAnalyzer  *get_bcea();
   150   ciMethodBlocks    *get_method_blocks();
   150   ciMethodBlocks    *get_method_blocks();
   151 
   151 
   152   bool    has_linenumber_table() const;          // length unknown until decompression
   152   bool    has_linenumber_table() const;          // length unknown until decompression