Fixed some problems, and improved range-checking

This commit is contained in:
ceriel
1987-10-28 11:10:30 +00:00
parent 98e6c244da
commit d80b501829
8 changed files with 48 additions and 24 deletions

View File

@@ -536,6 +536,7 @@ CodeStd(nd)
size = left->nd_type->tp_size;
if (size < word_size) size = word_size;
CodePExpr(left);
CodeCoercion(left->nd_type, tp);
if (arg) {
CodePExpr(arg->nd_left);
CodeCoercion(arg->nd_left->nd_type, tp);