hotspot/src/cpu/sparc/vm/assembler_sparc.hpp
changeset 6772 2563324665d5
parent 6175 86dbf3cacacc
child 6774 a224d6a24120
equal deleted inserted replaced
6771:3f9a5f169070 6772:2563324665d5
  2101 
  2101 
  2102    // oop manipulations
  2102    // oop manipulations
  2103   void load_heap_oop(const Address& s, Register d);
  2103   void load_heap_oop(const Address& s, Register d);
  2104   void load_heap_oop(Register s1, Register s2, Register d);
  2104   void load_heap_oop(Register s1, Register s2, Register d);
  2105   void load_heap_oop(Register s1, int simm13a, Register d);
  2105   void load_heap_oop(Register s1, int simm13a, Register d);
       
  2106   void load_heap_oop(Register s1, RegisterOrConstant s2, Register d);
  2106   void store_heap_oop(Register d, Register s1, Register s2);
  2107   void store_heap_oop(Register d, Register s1, Register s2);
  2107   void store_heap_oop(Register d, Register s1, int simm13a);
  2108   void store_heap_oop(Register d, Register s1, int simm13a);
  2108   void store_heap_oop(Register d, const Address& a, int offset = 0);
  2109   void store_heap_oop(Register d, const Address& a, int offset = 0);
  2109 
  2110 
  2110   void encode_heap_oop(Register src, Register dst);
  2111   void encode_heap_oop(Register src, Register dst);
  2223   void verify_FPU(int stack_depth, const char* s = "illegal FPU state");
  2224   void verify_FPU(int stack_depth, const char* s = "illegal FPU state");
  2224         // only if +VerifyFPU
  2225         // only if +VerifyFPU
  2225   void stop(const char* msg);                          // prints msg, dumps registers and stops execution
  2226   void stop(const char* msg);                          // prints msg, dumps registers and stops execution
  2226   void warn(const char* msg);                          // prints msg, but don't stop
  2227   void warn(const char* msg);                          // prints msg, but don't stop
  2227   void untested(const char* what = "");
  2228   void untested(const char* what = "");
  2228   void unimplemented(const char* what = "")              { char* b = new char[1024];  sprintf(b, "unimplemented: %s", what);  stop(b); }
  2229   void unimplemented(const char* what = "")      { char* b = new char[1024];  jio_snprintf(b, 1024, "unimplemented: %s", what);  stop(b); }
  2229   void should_not_reach_here()                   { stop("should not reach here"); }
  2230   void should_not_reach_here()                   { stop("should not reach here"); }
  2230   void print_CPU_state();
  2231   void print_CPU_state();
  2231 
  2232 
  2232   // oops in code
  2233   // oops in code
  2233   AddressLiteral allocate_oop_address(jobject obj);                          // allocate_index
  2234   AddressLiteral allocate_oop_address(jobject obj);                          // allocate_index