Apparatus and method for executing program using just-in time-compiler system
A program execution device includes: a storage unit storing for each function a machine language executable by an execution unit obtained by compiling a function described in a source program, and maintaining the stored data although a power supply voltage has dropped; a compiling unit compiling the source program into a machine language executable by the execution unit; a storage control unit storing the machine language compiled by the compiling unit; a determination unit determining whether or not a machine language obtained by compiling a function used in the source program is stored in the storage unit; and an execution control unit instructing the execution unit to directly execute either a machine language compiled by the compiling unit or a machine language stored in the storage unit depending on the determination result obtained by the determination unit.