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