Electronic device and method for converting source code into machine code
AssigneeSamsung Electronics Co., Ltd.
InventorsBo-Gon KIM, Jae-Min Park, Jung-Min Cho, Seung-Yeon Choe
Life of this patent
Estimating the term…
Abstract
An operation method of an electronic device is provided, which includes determining whether a target dependent area exists in a source code, and converting the target dependent area into a target independent Intermediate Representation (IR) when it is determined that the target dependent area exists in the source code.
Claims17
An operating method of an electronic device, the operating method comprising:
- determining whether a target dependent area exists in a source code;
- and
- when it is determined that the target dependent area exists in the source code, converting the target dependent area into a target independent Intermediate Representation (IR).
An operating method of an electronic device, the operating method comprising:
- converting a portable Intermediate Representation (IR) that is independent from a target into a target IR that is dependent upon the target;
- and
- converting the target IR into a machine code.
An electronic device comprising:
- a portable determining unit configured to determine whether a target dependent area exists in a source code;
- and
- a non-targeted Intermediate Representation (IR) converter configured to convert the target dependent area into a target independent IR when it is determined that the target dependent area exists in the source code.
An electronic device comprising:
- a second converter configured to convert a portable Intermediate Representation (IR) that is independent from a target into a target IR that is dependent upon the target;
- and
- a third converter configured to convert the target IR into a machine code.
A non-transitory computer readable recording medium that stores a program for implementing operations in an electronic device, the operations comprising:
- determining whether a target dependent area exists in a source code;
- and
- when it is determined that the target dependent area exists in the source code, converting the target dependent area into a target independent Intermediate Representation (IR).
A non-transitory computer-readable recording medium that stores a program for implementing operations in an electronic device, the operations comprising:
- converting a portable Intermediate Representation (IR) that is independent from a target into a target IR that is dependent upon the target;
- and
- converting the target IR into a machine code.
Dependencies are inferred from the claim text.