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

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_; }
主站蜘蛛池模板: 昌平区| 大港区| 延寿县| 繁峙县| 瓦房店市| 永安市| 武安市| 巩留县| 金阳县| 大邑县| 赣榆县| 华阴市| 水富县| 大冶市| 湟中县| 兴宁市| 五寨县| 乳山市| 新竹市| 临颍县| 青河县| 西乌珠穆沁旗| 阳原县| 宁明县| 彭水| 铁力市| 专栏| 漳州市| 西峡县| 进贤县| 郸城县| 滦平县| 望都县| 左权县| 蒙城县| 宝丰县| 惠州市| 即墨市| 曲阜市| 雅江县| 卓尼县|