×

Method and apparatus for converting programs

  • US 9,588,747 B2
  • Filed: 03/11/2014
  • Issued: 03/07/2017
  • Est. Priority Date: 09/27/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method of converting a program comprising:

  • receiving a program;

    detecting at least one loop statement including a branch statement within the program;

    searching for a condition expression included in the branch statement from a split information table;

    receiving split possibility information corresponding to the condition expression from the split information table when the condition expression exists in the split information table;

    determining whether the loop statement splits into sub-loop statements which perform the same function as a function of the loop statement and among which the branch statement has been removed so as to exclude any branch statement therein;

    splitting the loop statement into the sub-loop statements and removing the branch statement when it is determined that the loop statement splits; and

    outputting a result of removing the branch statement,wherein the determining of whether the loop statement splits comprises;

    determining that the loop statement cannot split when the condition expression does not exist in the split information table; and

    determining, by using the received split possibility information, whether the loop statement splits.

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