src/cpu/ppc/vm/sharedRuntime_ppc.cpp

changeset 6517
a433eb716ce1
parent 6512
fd1b9f02cc91
child 6876
710a3c8b516e
child 8182
e9e252c83b2b
     1.1 --- a/src/cpu/ppc/vm/sharedRuntime_ppc.cpp	Mon Mar 24 11:51:40 2014 -0700
     1.2 +++ b/src/cpu/ppc/vm/sharedRuntime_ppc.cpp	Tue Mar 25 12:54:21 2014 -0700
     1.3 @@ -34,6 +34,7 @@
     1.4  #include "runtime/sharedRuntime.hpp"
     1.5  #include "runtime/vframeArray.hpp"
     1.6  #include "vmreg_ppc.inline.hpp"
     1.7 +#include "adfiles/ad_ppc_64.hpp"
     1.8  #ifdef COMPILER1
     1.9  #include "c1/c1_Runtime1.hpp"
    1.10  #endif
    1.11 @@ -52,10 +53,6 @@
    1.12  #define BIND(label) bind(label); BLOCK_COMMENT(#label ":")
    1.13  
    1.14  
    1.15 -// Used by generate_deopt_blob.  Defined in .ad file.
    1.16 -extern uint size_deopt_handler();
    1.17 -
    1.18 -
    1.19  class RegisterSaver {
    1.20   // Used for saving volatile registers.
    1.21   public:
    1.22 @@ -2782,7 +2779,7 @@
    1.23    // We can't grab a free register here, because all registers may
    1.24    // contain live values, so let the RegisterSaver do the adjustment
    1.25    // of the return pc.
    1.26 -  const int return_pc_adjustment_no_exception = -size_deopt_handler();
    1.27 +  const int return_pc_adjustment_no_exception = -HandlerImpl::size_deopt_handler();
    1.28  
    1.29    // Push the "unpack frame"
    1.30    // Save everything in sight.

mercurial