Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous partial approach was wrong and inadequate. alloca is a special case in a number of ways that do not fit the general model/framework. - It's link name is __chkstk. - It takes its first and only parameter in eax. - It returns its return value in esp. This lets the system mostly return to working. You can bootstrap from 5.2.6, using so far an older Visual C++ and get as far as the caltech lex/yacc rewrites.
- Loading branch information
Showing
2 changed files
with
89 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,6 +76,7 @@ TYPE | |
bound := FALSE; | ||
usage: ProcList := NIL; | ||
fenceVar: x86Var := NIL; | ||
is_alloca := FALSE; | ||
END; | ||
|
||
TYPE | ||
|