Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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);
     }
 }