Invention Grant
- Patent Title: Compiler device and compiling method
-
Application No.: US17251182Application Date: 2019-06-18
-
Publication No.: US11226814B2Publication Date: 2022-01-18
- Inventor: Wataru Arai
- Applicant: OMRON Corporation
- Applicant Address: JP Kyoto
- Assignee: OMRON Corporation
- Current Assignee: OMRON Corporation
- Current Assignee Address: JP Kyoto
- Agency: JCIPRNET
- Priority: JPJP2018-126935 20180703
- International Application: PCT/JP2019/023996 WO 20190618
- International Announcement: WO2020/008855 WO 20200109
- Main IPC: G06F8/72
- IPC: G06F8/72 ; G06N20/00 ; G06F8/51 ; G06F9/38 ; G06F9/445

Abstract:
The objective of the present invention is to prevent a conflict between variable names and unintended overwriting of data when a plurality of programs that define shared variables exist. A compiler device (12) includes: an identifier acquisition part (121a) for acquiring an identifier of a first user program; a shared variable name generation part (121b) for generating a shared variable name that includes a variable name of a shared variable and the identifier; a conversion part (121c) for converting the first user program to machine language; and an address determination part (122a) for determining an address of the shared variable. The address determination part (122a) associates the shared variable name and the address of the shared variable with each other and embeds these in the first user program that has been converted to machine language.
Public/Granted literature
- US20210216309A1 COMPILER DEVICE AND COMPILING METHOD Public/Granted day:2021-07-15
Information query