comparison src/cpu/sparc/vm/assembler_sparc.hpp @ 1846:d55217dc206f

6829194: JSR 292 needs to support compressed oops Reviewed-by: kvn, jrose
author twisti
date Mon, 11 Oct 2010 04:18:58 -0700
parents a64438a2b7e8
children c393f046f4c5
comparison
equal deleted inserted replaced
1845:a222fcfba398 1846:d55217dc206f
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