Patent ID: 6161217
Filing Date: 2000-12-12
Classification: G06F

Abstract:
A computer system configured by machine-readable instructions to:A) read electrical signals representing a source-code calling procedure that calls a polymorphic method on a variable object;B) compile the source-code calling procedure into an object-code calling procedure by:i) placing inlined object code for at least one form of the polymorphic method into the object-code procedure; andii) guarding the inlined object code for each such form of the polymorphic method with guard code that directs a machine executing it to:a) perform a comparison of the address of the one form of the polymorphic method with the called-on object's virtual-function-table entry for that method; andb) skip the inlined object code if the comparison is negative; andC) store the object-code calling procedure in a machine-readable storage medium.