Generating code based at least on one or more output arguments designated as not being present
First Claim
Patent Images
1. A method comprising:
- acquiring code that includes a call to a first function defined to return a plurality of output arguments, the call to the first function designating, with a designator, one or more output arguments, in the plurality of output arguments of the first function, that are not present; and
generating, using processing logic, a second function based at least on the designated one or more output arguments being designated as not present.
1 Assignment
0 Petitions
Accused Products
Abstract
In an embodiment, code may be acquired that calls a first function defined to return a plurality of output arguments. The code may designate, with a designator, one or more output arguments, in the plurality of output argument, that are not present. Processing logic may generate a second function based at least on the designated one or more output arguments being designated as not present.
20 Citations
27 Claims
-
1. A method comprising:
-
acquiring code that includes a call to a first function defined to return a plurality of output arguments, the call to the first function designating, with a designator, one or more output arguments, in the plurality of output arguments of the first function, that are not present; and generating, using processing logic, a second function based at least on the designated one or more output arguments being designated as not present. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 21)
-
-
10. A method comprising:
-
acquiring code that includes a call to a first function defined to return a plurality of output arguments, the call to the first function designating, with a designator, one or more output arguments, in the plurality of output arguments of the first function, that are not present; determining whether a second function already exists based at least on the designated one or more output arguments being designated as not present; and omitting, using processing logic, the generation of the second function if the second function already exists. - View Dependent Claims (11, 12, 22)
-
-
13. A method comprising:
-
calling a function defined to return a plurality of output arguments, the call to the function designating, with a designator, one or more output arguments, in the plurality of output arguments, that are not present; receiving one or more values for the designated one or more output arguments; and ignoring, using processing logic, the received one or more values for the designated one or more output arguments.
-
-
14. One or more non-transitory computer-readable storage media for storing computer-executable instructions executable by processing logic, the media storing one or more instructions for:
-
acquiring code that includes a call to a first function defined to return a plurality of output arguments, the call to the first function designating, with a designator, one or more output arguments, in the plurality of output arguments of the first function, that are not present; and generating a second function based at least on the designated one or more output arguments being designated as not present. - View Dependent Claims (15, 16, 23)
-
-
17. One or more non-transitory computer-readable storage media for storing computer-executable instructions executable by processing logic, the media storing one or more instructions for:
-
acquiring code that includes a call to a first function defined to return a plurality of output arguments, the call to the first function designating, with a designator, one or more output arguments, in the plurality of output arguments of the first function, that are not present; determining whether a second function already exists based at least on the designated one or more output arguments being designated as not being present; and omitting, using processing logic, the generation of the second function if the second function already exists. - View Dependent Claims (18, 24)
-
-
19. An apparatus comprising:
-
means for acquiring code that includes a call to a first function defined to return a plurality of output arguments, the call to the first function designating, with a designator, one or more output arguments of the first function, in the plurality of output arguments, that are not present; and means for generating a second function based at least on the designated one or more output arguments being designated as not present. - View Dependent Claims (25)
-
-
20. A system comprising:
-
a memory storing code that includes a call to a first function defined to return a plurality of output arguments, the call to the first function designating, with a designator, one or more output arguments of the first function, in the plurality of output arguments, that are not present, and processing logic coupled to the memory, the processing logic configured to; generate a second function based at least on the designated one or more output arguments of the first function being designated with the designator as not present. - View Dependent Claims (26)
-
-
27. An apparatus comprising:
-
a memory storing code that includes a call to a first function defined to return a plurality of output arguments, the call to the first function designating, with a designator, one or more output arguments, in the plurality of output arguments of the first function, that are not returned by the first function; and processing logic coupled to the memory, the processing logic configured to generate a second function based on the designated one or more output arguments being designated as not returned, wherein the first function includes an expression or a statement that tests the designated one or more output arguments to determine whether the designated one or more output arguments are designated as not returned, and the second function either includes code or excludes code from the first function based on the designated one or more output arguments being designated as not returned.
-
Specification