Mercurial > hg > truffle
comparison src/share/vm/ci/ciEnv.hpp @ 3619:5e9645341ec3
support for new RiRuntime features: add code without making it the default for the method, executing Java tasks on the compile thread, communicate nmethod reference to Java code as HotSpotCompiledMethod
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 09 Nov 2011 11:27:38 +0100 |
parents | 22d11b3bc561 |
children | 04b9a2566eec |
comparison
equal
deleted
inserted
replaced
3601:3822c5969a8b | 3619:5e9645341ec3 |
---|---|
310 // Handy forwards to the task: | 310 // Handy forwards to the task: |
311 int comp_level(); // task()->comp_level() | 311 int comp_level(); // task()->comp_level() |
312 uint compile_id(); // task()->compile_id() | 312 uint compile_id(); // task()->compile_id() |
313 | 313 |
314 // Register the result of a compilation. | 314 // Register the result of a compilation. |
315 void register_method(ciMethod* target, | 315 nmethod* register_method(ciMethod* target, |
316 int entry_bci, | 316 int entry_bci, |
317 CodeOffsets* offsets, | 317 CodeOffsets* offsets, |
318 int orig_pc_offset, | 318 int orig_pc_offset, |
319 CodeBuffer* code_buffer, | 319 CodeBuffer* code_buffer, |
320 int frame_words, | 320 int frame_words, |
322 ExceptionHandlerTable* handler_table, | 322 ExceptionHandlerTable* handler_table, |
323 ImplicitExceptionTable* inc_table, | 323 ImplicitExceptionTable* inc_table, |
324 AbstractCompiler* compiler, | 324 AbstractCompiler* compiler, |
325 int comp_level, | 325 int comp_level, |
326 bool has_debug_info = true, | 326 bool has_debug_info = true, |
327 bool has_unsafe_access = false); | 327 bool has_unsafe_access = false, |
328 bool install_code = true); | |
328 | 329 |
329 | 330 |
330 // Access to certain well known ciObjects. | 331 // Access to certain well known ciObjects. |
331 #define WK_KLASS_FUNC(name, ignore_s, ignore_o) \ | 332 #define WK_KLASS_FUNC(name, ignore_s, ignore_o) \ |
332 ciInstanceKlass* name() { \ | 333 ciInstanceKlass* name() { \ |