src/share/vm/asm/codeBuffer.hpp

changeset 4318
cd3d6a6b95d9
parent 4317
6ab62ad83507
child 4767
a5de0cc2f91c
     1.1 --- a/src/share/vm/asm/codeBuffer.hpp	Fri Nov 30 11:44:05 2012 -0800
     1.2 +++ b/src/share/vm/asm/codeBuffer.hpp	Fri Nov 30 15:23:16 2012 -0800
     1.3 @@ -25,15 +25,15 @@
     1.4  #ifndef SHARE_VM_ASM_CODEBUFFER_HPP
     1.5  #define SHARE_VM_ASM_CODEBUFFER_HPP
     1.6  
     1.7 -#include "asm/assembler.hpp"
     1.8  #include "code/oopRecorder.hpp"
     1.9  #include "code/relocInfo.hpp"
    1.10  
    1.11 -class  CodeComments;
    1.12 -class  PhaseCFG;
    1.13 -class  Compile;
    1.14 -class  BufferBlob;
    1.15 -class  CodeBuffer;
    1.16 +class CodeComments;
    1.17 +class PhaseCFG;
    1.18 +class Compile;
    1.19 +class BufferBlob;
    1.20 +class CodeBuffer;
    1.21 +class Label;
    1.22  
    1.23  class CodeOffsets: public StackObj {
    1.24  public:
    1.25 @@ -453,6 +453,9 @@
    1.26    int        locator(address addr) const;
    1.27    address    locator_address(int locator) const;
    1.28  
    1.29 +  // Heuristic for pre-packing the taken/not-taken bit of a predicted branch.
    1.30 +  bool is_backward_branch(Label& L);
    1.31 +
    1.32    // Properties
    1.33    const char* name() const                  { return _name; }
    1.34    CodeBuffer* before_expand() const         { return _before_expand; }

mercurial