Gourmet 发表于 2025-3-25 03:59:45

http://reply.papertrans.cn/48/4736/473532/473532_21.png

植物茂盛 发表于 2025-3-25 08:32:30

Functions, an unbounded number of variables, as each recursive invocation of the function has its own set of variables, and there is no bound on the recursion depth. We can not hope to keep all these variables in registers, so we will use memory for some of these. The basic idea is that only variables that ar

OMIT 发表于 2025-3-25 12:04:29

Textbook 2024Latest editioniven for how these can be realised in different language paradigms..Depending on how much of the material from the book is used, it is suitable for both undergraduate and graduate courses for introducing compiler design and implementation.. . . . . .

AGONY 发表于 2025-3-25 18:26:20

Scopes and Symbol Tables,declared in several nested scopes. In this case, it is normal that the declaration closest to a use of the name will be the one that defines that particular use. A compiler will need to keep track of names and the items these are bound to, so that any use of a name will be attributed correctly to its declaration. This is typically done using a ..

Debate 发表于 2025-3-25 20:45:23

http://reply.papertrans.cn/48/4736/473532/473532_25.png

钳子 发表于 2025-3-26 00:19:25

Register Allocation,s. This can often be done by letting several variables share a single register, but sometimes there are simply not enough registers in the processor. In this case, some of the variables must be temporarily stored in memory. This is called ..

高脚酒杯 发表于 2025-3-26 05:13:35

Data-Flow Analysis and Optimisation,ough a program. This information can be an approximation of values calculated during execution, but it can also be information about where values are stored, if values are going to be used later during execution, information about whether a piece of code is ever going to be executed, or any kind of information that can be useful for optimisation.

夜晚 发表于 2025-3-26 08:59:26

http://reply.papertrans.cn/48/4736/473532/473532_28.png

裁决 发表于 2025-3-26 15:28:28

http://reply.papertrans.cn/48/4736/473532/473532_29.png

可商量 发表于 2025-3-26 17:14:46

Machine-Code Generation,e problem of mapping a large set of variables to a small number of registers is handled by ., as explained in Chap. 8. Functions are treated in Chap. 9. We will look at the remaining two problems in this chapter.
页: 1 2 [3] 4 5 6
查看完整版本: Titlebook: Introduction to Compiler Design; Torben Ægidius Mogensen Textbook 2024Latest edition Springer International Publishing AG 2024 Compiler De