mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 12:22:26 +00:00
An Improved Quake C Compiler
0b94d7583c
When ast_member encounters the result of an ast_entfield it has to replace the ast_entfield's codegen as we cannot evaluate the field access first. We then perform the same action as ast_entfield but call vectorMember on the field before issuing the load/address instruction. This effectively turns the codegen of the following ast structure: member_of { field_of { entity, a_vector } memberid } into the one of this structure: field_of { entity, member_of { a_vector memberid } } |
||
---|---|---|
doc | ||
misc | ||
tests | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
algo.h | ||
ast.cpp | ||
ast.h | ||
AUTHORS | ||
CMakeLists.txt | ||
code.cpp | ||
conout.cpp | ||
exec.cpp | ||
fold.cpp | ||
fold.h | ||
ftepp.cpp | ||
gmqcc.h | ||
gmqcc.ini.example | ||
intrin.cpp | ||
intrin.h | ||
ir.cpp | ||
ir.h | ||
lexer.cpp | ||
lexer.h | ||
LICENSE | ||
main.cpp | ||
Makefile | ||
opts.cpp | ||
opts.def | ||
parser.cpp | ||
parser.h | ||
README | ||
stat.cpp | ||
test.cpp | ||
utf8.cpp | ||
util.cpp |
An improved QuakeC compiler