官术网_书友最值得收藏!

Intermediate code generation

After all the analysis is completed, the compiler generates intermediate code that is a light version of C++ mostly C. A simple example would be the following:

class A { 
public:
int get_member() { return mem_; }
private:
int mem_;
};

After analyzing the code, intermediate code will be generated (this is an abstract example meant to show the idea of the intermediate code generation; compilers may differ in implementation)

struct A { 
int mem_;
};
int A_get_member(A* this) { return this->mem_; }
主站蜘蛛池模板: 宁武县| 敦煌市| 邻水| 宁城县| 皮山县| 平南县| 兴和县| 米脂县| 来凤县| 镇巴县| 民乐县| 民勤县| 新竹市| 安陆市| 宝丰县| 醴陵市| 仪陇县| 桦甸市| 萝北县| 盱眙县| 安图县| 招远市| 邹城市| 玛多县| 乌审旗| 枣阳市| 巴塘县| 新津县| 塔河县| 穆棱市| 泰和县| 塔河县| 新民市| 昌黎县| 泽普县| 雷州市| 郎溪县| 长葛市| 永平县| 平远县| 乡城县|