Commit graph

2997 commits

Author SHA1 Message Date
Dale Weiler
5429b6f189 Fix out of bound access 2013-06-22 01:16:24 +00:00
Dale Weiler
d39fb653aa Fix some more bugs, and use dup2 because dup leaks on some implementations. 2013-06-22 01:14:13 +00:00
Dale Weiler
e08f00bfcd Update clean rules in makefiles to remove coverity stuff 2013-06-22 00:16:44 +00:00
Dale Weiler
edf59e4f73 Fixed possible bug in VM. Added coverity rules to makefiles. 2013-06-22 00:15:25 +00:00
Dale Weiler
52e7394418 Fix uninitialized data 2013-06-22 00:00:17 +00:00
Dale Weiler
a982d4e524 Fix a sizeof bug 2013-06-21 23:55:47 +00:00
Dale Weiler
458cfcb48c I'm assuming this is a bug since all other read tests compare with itself's ir_value, and only this one doesn't. Otherwise why would you need to load to an ir_value for vec? 2013-06-21 23:54:09 +00:00
Dale Weiler
5bdf0aff81 Catch that one too 2013-06-21 23:51:49 +00:00
Dale Weiler
1929b129ee Improper use of a possible negative value. 2013-06-21 23:49:08 +00:00
Dale Weiler
ce23e95d0b Remove a ton of dead code and document the one really insane case. 2013-06-21 23:40:51 +00:00
Dale Weiler
684112474b cppcheck had the right idea, but the wrong scope on this one. 2013-06-21 23:29:50 +00:00
Dale Weiler
fe296de42f Fix more bugs (mostly possible NULL pointer dereferences) 2013-06-21 23:26:49 +00:00
Dale Weiler
996d998ebb Fix possible NULL pointer dereference 2013-06-21 23:21:12 +00:00
Dale Weiler
125d039e3d Fix some bugs 2013-06-21 23:16:00 +00:00
Dale Weiler
6db2e69f9a Oh my god microsoft you suck 2013-06-20 11:20:56 +00:00
Dale Weiler
82fd7fcf68 Move code generator into ir_builder for earlier free. It's also a much more cleaner design than load parser->code for all ast/ir operations. We also have a proper chain'd design now (so making this a library will be easier). 2013-06-20 10:52:58 +00:00
Dale Weiler
a2c3388e49 Fix some comments 2013-06-18 07:31:09 +00:00
Dale Weiler
944ec75687 Retarded clang warning is retarded. 2013-06-18 07:26:07 +00:00
Dale Weiler
3b8b76328c Holy mexicans 15% better hashing == 5% faster compiles. 2013-06-18 07:22:03 +00:00
Dale Weiler
e6c1d66c35 Merge branch 'master' into cooking
Conflicts:
	opts.def
2013-06-17 20:14:26 +00:00
Dale Weiler
51eb94f251 Enable it for gmqcc and fteqcc modes. 2013-06-17 20:13:21 +00:00
Dale Weiler
7e76b42f11 Merge branch 'master' of github.com:graphitemaster/gmqcc 2013-06-17 20:12:02 +00:00
Dale Weiler
23cb7f4e09 Fix some bugs 2013-06-17 20:11:37 +00:00
Dale Weiler
a04c0d2aa2 make source a dependency for the c.o rule 2013-06-16 08:35:58 +00:00
Dale Weiler
ad8d76b212 Fixed 2013-06-16 08:24:13 +00:00
Dale Weiler
de8974d03e Use includes for makefile consistency. Added make depend rule for BSDmakefile. 2013-06-16 08:21:23 +00:00
Wolfgang Bumiller
f8db5a7c6d reclassify_token should only deal with tokens < TOKEN_START... should fix 2013-06-16 09:56:21 +02:00
Wolfgang Bumiller
e6bb7697f9 reclassify_token should only deal with tokens < TOKEN_START... should fix 2013-06-16 09:53:11 +02:00
Dale Weiler
a3e1342bdb Update 2013-06-16 07:51:55 +00:00
Dale Weiler
ba85107a85 Better scheme 2013-06-16 07:48:41 +00:00
Dale Weiler
0e392f91d2 A new batch of fresh hot dependencies for both 2013-06-16 07:23:51 +00:00
Dale Weiler
685925398c Dependency consistency 2013-06-16 07:22:37 +00:00
Dale Weiler
ec6de55d3c Update some things 2013-06-16 07:21:40 +00:00
Dale Weiler
00d1d237bc Update install file 2013-06-16 07:16:44 +00:00
Dale Weiler
6de7c45618 A Makefile for BSD make. 2013-06-16 07:08:07 +00:00
Dale Weiler
004832f6ec Make it compile with g++ again 2013-06-16 05:59:41 +00:00
Dale Weiler
82e92811e4 Uhh forgot to save file 2013-06-16 03:46:07 +00:00
Dale Weiler
9a6316221c Fix memleak 2013-06-16 03:45:06 +00:00
Dale Weiler
2d654ddcff Update 2013-06-16 02:48:31 +00:00
Dale Weiler
5d2b57394e Add the good old xor swap trick to the xor test, yes it works :P 2013-06-16 02:24:10 +00:00
Dale Weiler
17ae2dbe4d Make ^ legal for vector ^ vector, and vector ^ float (read the huge comment that explains why and what this does). Currently only works for constants (don't know how to do expression for multiple vector components yet). 2013-06-16 02:17:29 +00:00
Dale Weiler
a27b7ee6a5 Make them tests work now 2013-06-15 11:05:25 +00:00
Dale Weiler
5694c77d16 I added it for a reason, because I was smart. I forgot about it because of life :( 2013-06-15 11:04:08 +00:00
Dale Weiler
0c58509417 This is easier 2013-06-15 09:53:12 +00:00
Dale Weiler
202fc67f93 Correct order 2013-06-15 09:52:22 +00:00
Dale Weiler
b9cf1f1262 Fix bug 2013-06-15 09:50:02 +00:00
Dale Weiler
a8fddbb7d3 Implemented bitwise xor operator. 2013-06-15 09:48:40 +00:00
Dale Weiler
04406b191f Less terse, it confuses people. 2013-06-15 08:56:34 +00:00
Wolfgang Bumiller
290d065a79 again with the comments... 2013-06-15 09:49:15 +02:00
Wolfgang Bumiller
3fab06941a fix a call typecheck issue 2013-06-15 09:46:44 +02:00