comparison src/share/vm/graal/graalRuntime.hpp @ 7154:5d0bb7d52783

changes to support Graal co-existing with the other HotSpot compiler(s) and being used for explicit compilation requests and code installation via the Graal API
author Doug Simon <doug.simon@oracle.com>
date Wed, 12 Dec 2012 21:36:40 +0100
parents 6c46172c04bf
children 8a3efb8c831d
comparison
equal deleted inserted replaced
7153:c421c19b7bf8 7154:5d0bb7d52783
41 int _frame_size; 41 int _frame_size;
42 int _num_rt_args; 42 int _num_rt_args;
43 int _stub_id; 43 int _stub_id;
44 44
45 public: 45 public:
46
47 enum {
48 no_frame_size = -1
49 };
50
46 // creation 51 // creation
47 GraalStubAssembler(CodeBuffer* code, const char * name, int stub_id); 52 GraalStubAssembler(CodeBuffer* code, const char * name, int stub_id);
48 void set_info(const char* name, bool must_gc_arguments); 53 void set_info(const char* name, bool must_gc_arguments);
49 54
50 void set_frame_size(int size); 55 void set_frame_size(int size);
68 }; 73 };
69 74
70 // set frame size and return address offset to these values in blobs 75 // set frame size and return address offset to these values in blobs
71 // (if the compiled frame uses ebp as link pointer on IA; otherwise, 76 // (if the compiled frame uses ebp as link pointer on IA; otherwise,
72 // the frame size must be fixed) 77 // the frame size must be fixed)
73 enum {
74 no_frame_size = -1
75 };
76 78
77 // Holds all assembly stubs and VM 79 // Holds all assembly stubs and VM
78 // runtime routines needed by code code generated 80 // runtime routines needed by code code generated
79 // by Graal. 81 // by Graal.
80 #define GRAAL_STUBS(stub, last_entry) \ 82 #define GRAAL_STUBS(stub, last_entry) \