src/cpu/sparc/vm/frame_sparc.hpp

changeset 3099
c124e2e7463e
parent 2314
f95d63e2154a
child 4037
da91efe96a93
     1.1 --- a/src/cpu/sparc/vm/frame_sparc.hpp	Wed Aug 31 09:48:21 2011 -0700
     1.2 +++ b/src/cpu/sparc/vm/frame_sparc.hpp	Wed Aug 31 16:46:11 2011 -0700
     1.3 @@ -259,13 +259,8 @@
     1.4    };
     1.5  #endif /* CC_INTERP */
     1.6  
     1.7 -  // the compiler frame has many of the same fields as the interpreter frame
     1.8 -  // %%%%% factor out declarations of the shared fields
     1.9    enum compiler_frame_fixed_locals {
    1.10 -       compiler_frame_d_scratch_fp_offset          = -2,
    1.11 -       compiler_frame_vm_locals_fp_offset          = -2, // should be same as above
    1.12 -
    1.13 -       compiler_frame_vm_local_words = -compiler_frame_vm_locals_fp_offset
    1.14 +       compiler_frame_vm_locals_fp_offset          = -2
    1.15    };
    1.16  
    1.17   private:
    1.18 @@ -283,9 +278,6 @@
    1.19  
    1.20    inline void interpreter_frame_set_tos_address(intptr_t* x);
    1.21  
    1.22 -
    1.23 -  // %%%%% Another idea: instead of defining 3 fns per item, just define one returning a ref
    1.24 -
    1.25    // monitors:
    1.26  
    1.27    // next two fns read and write Lmonitors value,
    1.28 @@ -298,22 +290,8 @@
    1.29      return ((interpreterState)sp_at(interpreter_state_ptr_offset));
    1.30    }
    1.31  
    1.32 -
    1.33  #endif /* CC_INTERP */
    1.34  
    1.35 -
    1.36 -
    1.37 - // Compiled frames
    1.38 -
    1.39   public:
    1.40 -  // Tells if this register can hold 64 bits on V9 (really, V8+).
    1.41 -  static bool holds_a_doubleword(Register reg) {
    1.42 -#ifdef _LP64
    1.43 -    //    return true;
    1.44 -    return reg->is_out() || reg->is_global();
    1.45 -#else
    1.46 -    return reg->is_out() || reg->is_global();
    1.47 -#endif
    1.48 -  }
    1.49  
    1.50  #endif // CPU_SPARC_VM_FRAME_SPARC_HPP

mercurial