×

Accurate method for inlining virtual calls

  • US 6,161,217 A
  • Filed: 09/14/1998
  • Issued: 12/12/2000
  • Est. Priority Date: 09/14/1998
  • Status: Expired due to Fees
First Claim
Patent Images

1. 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; and

    ii) 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; and

    b) skip the inlined object code if the comparison is negative; and

    C) store the object-code calling procedure in a machine-readable storage medium.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×