首页> 外国专利> Compiler for compiling source programs in an object-oriented programming language

Compiler for compiling source programs in an object-oriented programming language

机译:以面向对象的编程语言编译源程序的编译器

摘要

The object of the present invention is to provide compiling technology to compile even source programs written in an object-oriented programming language so as to enable parallel processing. In order to realize parallel processing, in addition to the object 1000 specified by the source program, objects of said class for parallelization processing 1010, 1020 must be generated, for class variables specified by parallelization directive and class-type variables contained in execution statements to be executed in parallel. In addition, on completion of parallel processing, objects for parallelization processing are destroyed. For this reason, if execution statements to be executed parallel or the parallelization directive includes a class-type variable, the compiler generates an instruction to call a construction instruction routine for an object of the class before the execution statements to be executed in parallel or the execution statements to be parallelized by the parallelization directive, and generates an instruction to call a destruction instruction routine for an object of the class after the execution statements to be executed in parallel or the execution statements to be parallelized by the parallelization directive.
机译:本发明的目的是提供一种编译技术,该编译技术甚至可以编译用面向对象的编程语言编写的源程序,从而能够进行并行处理。为了实现并行处理,除了源程序指定的对象 1000 以外,还必须为类变量生成用于并行处理 1010、1020 的所述类的对象。由并行化指令和包含在要并行执行的执行语句中的类类型变量指定。另外,在并行处理完成时,用于并行化处理的对象被破坏。因此,如果要并行执行的执行语句或并行化指令包含类类型变量,则编译器会在要并行执行或并行执行语句之前生成指令以调用该类对象的构造指令例程。由并行化指令并行化的执行语句,并在要并行执行的执行语句或要由并行化指令并行化的执行语句之后,生成用于调用该类对象的销毁指令例程的指令。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号