Commit Graph

108 Commits

Author SHA1 Message Date
7642b94308 reformat changes since master 2014-07-11 13:25:22 -06:00
263e349cae rename assert to assertT, to avoid conflict with std assert macro 2014-07-11 09:32:57 -06:00
05d80aee8b remove static references to TargetBytesPerWord in Compiler 2014-06-01 14:57:05 -06:00
1fb6a0bceb fix up creation of ir::Type 2014-06-01 14:22:51 -06:00
9273d5ca39 remove redundant Compiler::initLocal footprint parameter 2014-05-30 23:40:24 -06:00
b6a3ed763c add assert in Compiler::initLocal and fix ensuing problems 2014-05-30 23:40:24 -06:00
91c5599fc0 remove redundant Compiler::storeLocal footprint parameter 2014-05-30 23:40:23 -06:00
cc4525c31c add type/footprint assert in Compiler::storeLocal 2014-05-30 23:40:23 -06:00
e7837c243e remove redundant size parameter to appendBranch, rename type -> op 2014-05-30 23:40:23 -06:00
c259faf24a remove redundant size parameters to appendReturn and appendCall 2014-05-30 23:40:23 -06:00
148d35bab5 remove redundant size parameters to appendCombine and appendTranslate 2014-05-30 23:40:23 -06:00
d67820054e add type asserts in appendCombine and appendTranslate 2014-05-30 23:40:23 -06:00
008bb6b86e remove redundant Compiler::unaryOp type parameter 2014-05-30 23:40:23 -06:00
a0443f0ef1 add type asserts in Compiler::unaryOp 2014-05-30 23:40:22 -06:00
b14709c54c remove redundant Compiler::condJump type parameter 2014-05-30 23:40:22 -06:00
e3354617a6 add type asserts in Compiler::condJump 2014-05-30 23:40:22 -06:00
33d946d249 remove redundant Compiler::store srcType parameter 2014-05-30 23:40:22 -06:00
f6bc51647e add type assert in Compiler::store, fix ensuing problems 2014-05-30 23:40:22 -06:00
e3d01746e8 remove redundant Compiler::truncate srcType parameter 2014-05-30 23:40:22 -06:00
3029bb2d7e add type asserts in Compiler::truncate 2014-05-30 23:40:22 -06:00
b853f1a594 remove redundant f2i & i2f aType parameter 2014-05-30 23:40:22 -06:00
c9313d5802 add type assert in f2i & i2f 2014-05-30 23:40:22 -06:00
c843a97e23 remove redundant f2f aType parameter 2014-05-30 23:40:21 -06:00
963b371e04 remove redundant load srcType parameter 2014-05-30 23:40:21 -06:00
69966f1d36 add type assert in load, fix ensuing problems 2014-05-30 23:40:21 -06:00
6fdd5d13ca remove redundant return_ type parameter 2014-05-30 23:40:21 -06:00
746c0fa0e8 remove ir::Type::Invalid, no longer needed for Subroutine 2014-05-30 23:40:21 -06:00
5ad1a14a73 explode Subroutines in compile.cpp rather than handling them in Compiler 2014-05-30 23:40:21 -06:00
2e40d38078 enforce more strong typing in compiler 2014-05-30 23:40:15 -06:00
7b0d577430 fix some return type & intrinsic typing 2014-05-30 23:19:41 -06:00
cb7f570f20 begin enforcing more strong typing 2014-05-30 22:51:03 -06:00
43eb49cf53 fix sizing of some stack ints 2014-05-30 22:41:11 -06:00
d62d083733 remove stack manipulation from AvianCallingConvention loop 2014-05-30 22:41:11 -06:00
fe2962830c remove unused CallEvent::argumentStack variable, prepare to remove stack manipulation from NativeCallingConvention calls 2014-05-30 22:41:11 -06:00
1318b9ca2a remove redundant CallEvent::argumentCount parameter 2014-05-30 22:41:11 -06:00
f9cbca8f7d pair up stack for NativeCallingConvention 2014-05-30 22:41:11 -06:00
69edeaadee remove redundant Compiler::stackCall footprint argument 2014-05-30 22:41:11 -06:00
97ce7d2b4e pass CallEvent arguments in Slice as well 2014-05-30 22:41:10 -06:00
86a98240b4 remove useless static_casts to retrieve ir::Value::type 2014-05-30 22:41:10 -06:00
479c056b2c move Compiler::Operand to ir::Value 2014-05-30 22:41:10 -06:00
865041b688 add asserts 2014-05-30 22:38:10 -06:00
42fec084b0 expose Value::type and add asserts 2014-05-30 22:16:39 -06:00
00253ce528 remove redundant Compiler::load srcSelectType parameter 2014-05-30 22:16:39 -06:00
4c4cc49510 use Compiler::truncateThenExtend in more places 2014-05-30 22:16:39 -06:00
26d8e8aa1f add Compiler::truncateThenExtend 2014-05-30 22:16:39 -06:00
99fa560257 merge Compiler::load and Compiler::loadz 2014-05-30 22:16:39 -06:00
85f114ea0f use ir::Type in Compiler::loadLocal 2014-05-30 22:16:39 -06:00
53b68a693d add more aggressive checks to Compiler::load* 2014-05-30 22:16:38 -06:00
27ea503233 switch Compiler::load* to use ir::Type rather than sizes 2014-05-30 22:16:38 -06:00
9c98986f99 remove redundant Compiler::store dstType parameter 2014-05-30 22:16:38 -06:00