Invention Application
- Patent Title: MECHANISM FOR INCREASING THE PERFORMANCE OF MULTIPLE LANGUAGE PROGRAMS BY INSERTING CALLED LANGUAGE IR INTO THE CALLING LANGUAGE
- Patent Title (中): 通过将呼叫语言IR插入呼叫语言来增加多种语言程序的性能的机制
-
Application No.: US14822489Application Date: 2015-08-10
-
Publication No.: US20170046137A1Publication Date: 2017-02-16
- Inventor: Matthias Grimmer , Chris Seaton , Thomas Wuerthinger
- Applicant: ORACLE INTERNATIONAL CORPORATION
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A method and system of cross-language inlining that includes receiving source code of a multiple language program, the source code including a main language and a first access of a first foreign object in a first additional language; translating the main language to obtain a main language intermediate representation (IR); translating the first additional language to obtain a first IR snippet; composing, before performing a compilation, the main language IR and the first IR snippet to obtain a cross-language IR; and performing the compilation of the cross-language IR to obtain machine code corresponding to the multiple language program.
Public/Granted literature
Information query