comparison src/share/vm/ci/ciUtilities.hpp @ 7126:ce248dc0a656

removed all Graal modifications to ci and c1
author Doug Simon <doug.simon@oracle.com>
date Mon, 03 Dec 2012 17:54:05 +0100
parents 2cb439954abf
children 6b0fd0964b87
comparison
equal deleted inserted replaced
7125:1baf7f1e3f23 7126:ce248dc0a656
34 34
35 // Add a ci native entry wrapper? 35 // Add a ci native entry wrapper?
36 36
37 // Bring the compilation thread into the VM state. 37 // Bring the compilation thread into the VM state.
38 #define VM_ENTRY_MARK \ 38 #define VM_ENTRY_MARK \
39 JavaThread* thread=JavaThread::current(); \ 39 CompilerThread* thread=CompilerThread::current(); \
40 ThreadInVMfromNative __tiv(thread); \ 40 ThreadInVMfromNative __tiv(thread); \
41 ResetNoHandleMark rnhm; \ 41 ResetNoHandleMark rnhm; \
42 HandleMarkCleaner __hm(thread); \ 42 HandleMarkCleaner __hm(thread); \
43 Thread* THREAD = thread; \ 43 Thread* THREAD = thread; \
44 debug_only(VMNativeEntryWrapper __vew;) 44 debug_only(VMNativeEntryWrapper __vew;)
45 45
46 46
47 47
48 // Bring the compilation thread into the VM state. No handle mark. 48 // Bring the compilation thread into the VM state. No handle mark.
49 #define VM_QUICK_ENTRY_MARK \ 49 #define VM_QUICK_ENTRY_MARK \
50 JavaThread* thread=JavaThread::current(); \ 50 CompilerThread* thread=CompilerThread::current(); \
51 ThreadInVMfromNative __tiv(thread); \ 51 ThreadInVMfromNative __tiv(thread); \
52 /* \ 52 /* \
53 * [TODO] The NoHandleMark line does nothing but declare a function prototype \ 53 * [TODO] The NoHandleMark line does nothing but declare a function prototype \
54 * The NoHandkeMark constructor is NOT executed. If the ()'s are \ 54 * The NoHandkeMark constructor is NOT executed. If the ()'s are \
55 * removed, causes the NoHandleMark assert to trigger. \ 55 * removed, causes the NoHandleMark assert to trigger. \
58 Thread* THREAD = thread; \ 58 Thread* THREAD = thread; \
59 debug_only(VMNativeEntryWrapper __vew;) 59 debug_only(VMNativeEntryWrapper __vew;)
60 60
61 61
62 #define EXCEPTION_CONTEXT \ 62 #define EXCEPTION_CONTEXT \
63 JavaThread* thread=JavaThread::current(); \ 63 CompilerThread* thread=CompilerThread::current(); \
64 Thread* THREAD = thread; 64 Thread* THREAD = thread;
65 65
66 66
67 #define CURRENT_ENV \ 67 #define CURRENT_ENV \
68 ciEnv::current() 68 ciEnv::current()