mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8254231: Implementation of Foreign Linker API (Incubator)
Reviewed-by: coleenp, ihse, dholmes, vlivanov
This commit is contained in:
parent
53f38353e0
commit
0fb31dbf3a
212 changed files with 67390 additions and 179 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue