9. An apparatus configured to compile a source code described by a first programming language, the apparatus comprising: a memory; and a processor coupled to the memory and configured to: specify a function from the source code, the function being described by a second programming language different from the first programming language from the source code, the function being allowed to use one or more arguments, and create an instruction to store given data that causes occurrence of an error when a register is accessed due to execution of the function, and store the given data that causes occurrence of the error in an area in the register for an argument that is not set for the function in the source code among the one or more arguments.
10. The apparatus according to claim 9 , wherein the register stores an address indicating an area in which data of a corresponding argument is stored, the one or more arguments include a first argument set in the function in the source code and a second argument not set for the function in the source code, and the processor is configured to: create an instruction to ensure a first area for the first argument and a second area for the second argument in the register prior to the creating of the instruction to store the given data causing occurrence of the error, create an instruction to store, in the first area, an address indicating an area in which data of the first argument is stored, and create the instruction to store the given data in the second area.