Author: theraven
Date: Tue Jan 12 01:57:32 2010
New Revision: 5796
URL: http://svn.gna.org/viewcvs/etoile?rev=5796&view=rev
Log:
Removed all VLAs and a load of C arrays from LK CodeGen and replaced them with
LLVM SmallVectors. This probably slows things down slightly, but simplifies
bits of the API, means that the code is now not using a buggy and unreliable
GNU extension, and gives some bounds checking.
LanguageKit now compiles with clang, but clang-compiled LanguageKit crashes
when you try to run it. Hopefully clang will compile it and produce working
code soon, and then I can discard the horrible ObjC<->C<->C++ shim and use
ObjC++ for the interface.
Modified:
trunk/Etoile/Languages/LanguageKit/CodeGen/CGObjCGNU.cpp
trunk/Etoile/Languages/LanguageKit/CodeGen/CGObjCRuntime.h
trunk/Etoile/Languages/LanguageKit/CodeGen/CodeGenBlock.cpp
trunk/Etoile/Languages/LanguageKit/CodeGen/CodeGenLexicalScope.cpp
trunk/Etoile/Languages/LanguageKit/CodeGen/CodeGenLexicalScope.h
trunk/Etoile/Languages/LanguageKit/CodeGen/CodeGenModule.cpp
trunk/Etoile/Languages/LanguageKit/CodeGen/LLVMCodeGen.h
trunk/Etoile/Languages/LanguageKit/CodeGen/LLVMCodeGenCAPI.cpp
trunk/Etoile/Languages/LanguageKit/CodeGen/MsgSendSmallInt.bc
trunk/Etoile/Languages/LanguageKit/CodeGen/MsgSendSmallInt.m
_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs