Example #1
0
 private void AddJumpToEntryPoint(CodePart linkedObject)
 {
     if (linkedObject.MainCode.Count > 0)
     {
         OpcodeBranchJump jumpOpcode = new OpcodeBranchJump();
         jumpOpcode.DestinationLabel = GetEntryPointLabel(linkedObject);
         linkedObject.FunctionsCode.Insert(0, jumpOpcode);
     }
 }
Example #2
0
 private void AddJumpToEntryPoint(CodePart linkedObject)
 {
     if (linkedObject.MainCode.Count > 0)
     {
         OpcodeBranchJump jumpOpcode = new OpcodeBranchJump();
         jumpOpcode.DestinationLabel = GetEntryPointLabel(linkedObject);
         linkedObject.FunctionsCode.Insert(0, jumpOpcode);
     }
 }