8254231: Implementation of Foreign Linker API (Incubator)

Reviewed-by: coleenp, ihse, dholmes, vlivanov
This commit is contained in:
Maurizio Cimadamore 2020-11-23 11:00:38 +00:00
parent 53f38353e0
commit 0fb31dbf3a
212 changed files with 67390 additions and 179 deletions

View file

@ -419,6 +419,8 @@ Form::CallType InstructForm::is_ideal_call() const {
idx = 0;
if(_matrule->find_type("CallLeafNoFP",idx)) return Form::JAVA_LEAF;
idx = 0;
if(_matrule->find_type("CallNative",idx)) return Form::JAVA_NATIVE;
idx = 0;
return Form::invalid_type;
}
@ -1131,6 +1133,9 @@ const char *InstructForm::mach_base_class(FormDict &globals) const {
else if( is_ideal_call() == Form::JAVA_LEAF ) {
return "MachCallLeafNode";
}
else if( is_ideal_call() == Form::JAVA_NATIVE ) {
return "MachCallNativeNode";
}
else if (is_ideal_return()) {
return "MachReturnNode";
}