comparison src/share/vm/c1x/c1x_VMExits.hpp @ 1422:3483ec571caf

* using reflected objects instead of oops * removed scratch from allocatable registers * instanceof xir snippet * arraylength xir snippet * exceptionobject xir snippet * VMEntries and VMExits as interfaces * calls to VMEntries and VMExits are routet through logging proxies
author Lukas Stadler <lukas.stadler@oracle.com>
date Mon, 02 Aug 2010 15:44:38 -0700
parents 6223633ce7dd
children 760213a60e8b
comparison
equal deleted inserted replaced
1421:6223633ce7dd 1422:3483ec571caf
48 48
49 static KlassHandle& vmExitsKlass(); 49 static KlassHandle& vmExitsKlass();
50 static Handle& instance(); 50 static Handle& instance();
51 51
52 52
53 static void compileMethod(oop method, int entry_bci); 53 static void compileMethod(methodOop method, int entry_bci);
54 54
55 static oop createRiMethod(methodOop m); 55 static oop createRiMethod(methodOop method, TRAPS);
56 static oop createRiField(oop field_holder, symbolOop field_name, oop field_type, int index); 56 static oop createRiField(oop field_holder, symbolOop field_name, oop field_type, int index, TRAPS);
57 static oop createRiType(klassOop k); 57 static oop createRiType(klassOop k, TRAPS);
58 static oop createRiConstantPool(constantPoolOop cp); 58 static oop createRiConstantPool(constantPoolOop cp, TRAPS);
59 static oop createRiTypeUnresolved(symbolOop name, klassOop accessor); 59 static oop createRiTypeUnresolved(symbolOop name, klassOop accessor, TRAPS);
60 static oop createRiSignature(symbolOop name); 60 static oop createRiSignature(symbolOop name, TRAPS);
61 static oop createCiConstantInt(jint value); 61 static oop createCiConstantInt(jint value, TRAPS);
62 static oop createCiConstantLong(jlong value); 62 static oop createCiConstantLong(jlong value, TRAPS);
63 static oop createCiConstantFloat(jfloat value); 63 static oop createCiConstantFloat(jfloat value, TRAPS);
64 static oop createCiConstantDouble(jdouble value); 64 static oop createCiConstantDouble(jdouble value, TRAPS);
65 static oop createCiConstantObject(oop value); 65 static oop createCiConstantObject(oop value, TRAPS);
66 static oop createRiTypePrimitive(int basic_type); 66 static oop createRiTypePrimitive(int basic_type, TRAPS);
67 }; 67 };
68 68
69 inline void check_pending_exception(const char* message) { 69 inline void check_pending_exception(const char* message) {
70 if (Thread::current()->has_pending_exception()) { 70 if (Thread::current()->has_pending_exception()) {
71 Thread::current()->pending_exception()->print(); 71 Thread::current()->pending_exception()->print();