- 16 Nov, 2014 13 commits
-
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
- 15 Nov, 2014 11 commits
-
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
Matthias Braun authored
-
Christoph Mallon authored
Consider a function with frame pointer relative addressing, where the only users of the stack are the Returns. Still space for values might be allocated on the stack. To prevent this, during prologue construction the IncSP was kept, if it had at most one user. If there are multiple returns, then there was more than one user, so the IncSP is not kept. Then during epilogue construction these uses are replaced by movl %ebp, %esp/leave. This renders the allocation of the frame unused and it vanishes. So memory below the stack pointer is accessed. Now first construct the epilogues. Then, when the prologue is constructed afterwards, we know whether the IncSP is unused and needs to be kept. Still this is a hack. The correct solution would be, that IncSP produces memory, so memory operations accessing stack slots use this memory.
-
Christoph Mallon authored
It pops a value from the stack, so this memory access should be represented in the graph.
-
Christoph Mallon authored
-
Christoph Mallon authored
-
Christoph Mallon authored
-
- 14 Nov, 2014 2 commits
-
-
Matthias Braun authored
-
Matthias Braun authored
-
- 13 Nov, 2014 14 commits
-
-
Christoph Mallon authored
* No \n at end; panic() adds one * No punctuation mark at end * Lowercase first letter
-
Christoph Mallon authored
-
Christoph Mallon authored
-
Christoph Mallon authored
-
Christoph Mallon authored
-
Christoph Mallon authored
-
Christoph Mallon authored
-
Christoph Mallon authored
-
Christoph Mallon authored
The operands were swapped.
-
Christoph Mallon authored
It was only used in an assertion.
-
Christoph Mallon authored
-
Christoph Mallon authored
-
Christoph Mallon authored
The variable was initialised to this just a few lines above.
-
Christoph Mallon authored
-