comparison src/share/vm/code/nmethod.cpp @ 2891:75a99b4f1c98

Rebranded C++ part from C1X to Graal.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 08 Jun 2011 14:01:51 +0200
parents 0654ee04b214
children 5857923e563c
comparison
equal deleted inserted replaced
2890:c23d45daff9b 2891:75a99b4f1c98
816 _stub_offset = content_offset() + code_buffer->total_offset_of(code_buffer->stubs()); 816 _stub_offset = content_offset() + code_buffer->total_offset_of(code_buffer->stubs());
817 817
818 // Exception handler and deopt handler are in the stub section 818 // Exception handler and deopt handler are in the stub section
819 assert(offsets->value(CodeOffsets::Exceptions) != -1, "must be set"); 819 assert(offsets->value(CodeOffsets::Exceptions) != -1, "must be set");
820 assert(offsets->value(CodeOffsets::Deopt ) != -1, "must be set"); 820 assert(offsets->value(CodeOffsets::Deopt ) != -1, "must be set");
821 if (UseC1X) { 821 if (UseGraal) {
822 // c1x produces no (!) stub section 822 // graal produces no (!) stub section
823 _exception_offset = code_offset() + offsets->value(CodeOffsets::Exceptions); 823 _exception_offset = code_offset() + offsets->value(CodeOffsets::Exceptions);
824 _deoptimize_offset = code_offset() + offsets->value(CodeOffsets::Deopt); 824 _deoptimize_offset = code_offset() + offsets->value(CodeOffsets::Deopt);
825 if (offsets->value(CodeOffsets::DeoptMH) != -1) { 825 if (offsets->value(CodeOffsets::DeoptMH) != -1) {
826 _deoptimize_mh_offset = code_offset() + offsets->value(CodeOffsets::DeoptMH); 826 _deoptimize_mh_offset = code_offset() + offsets->value(CodeOffsets::DeoptMH);
827 } else { 827 } else {
2299 // Right now there is no way to find out which entries support 2299 // Right now there is no way to find out which entries support
2300 // an interrupt point. It would be nice if we had this 2300 // an interrupt point. It would be nice if we had this
2301 // information in a table. 2301 // information in a table.
2302 break; 2302 break;
2303 } 2303 }
2304 assert(UseC1X || stub == NULL || stub_contains(stub), "static call stub outside stub section"); 2304 assert(UseGraal || stub == NULL || stub_contains(stub), "static call stub outside stub section");
2305 } 2305 }
2306 } 2306 }
2307 2307
2308 2308
2309 // ----------------------------------------------------------------------------- 2309 // -----------------------------------------------------------------------------