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

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_; }
主站蜘蛛池模板: 开原市| 清流县| 临潭县| 昌邑市| 婺源县| 灵石县| 和政县| 文成县| 历史| 沙湾县| 九寨沟县| 德昌县| 鹤岗市| 台东市| 永吉县| 凭祥市| 偏关县| 洞口县| 连南| 射洪县| 龙泉市| 柳州市| 且末县| 辽宁省| 陆丰市| 石屏县| 苗栗县| 灵寿县| 东阳市| 牙克石市| 阆中市| 湾仔区| 贺兰县| 邯郸市| 永年县| 霍城县| 崇左市| 资兴市| 东源县| 响水县| 凤城市|