aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-07-08 11:21:06 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-07-08 11:21:06 -0700
commit9dbe68485489e576795fee04c83e69a2b6cf776a (patch)
treeade71b33286590a21600e113046c62e89a4954c7 /lib/std
parentfb16633ecb496f3f30cdac11987baad40b7793b2 (diff)
downloadzig-9dbe68485489e576795fee04c83e69a2b6cf776a.tar.gz
zig-9dbe68485489e576795fee04c83e69a2b6cf776a.zip
C backend: cleanups to wrapping int operations
* less branching by passing parameters in the main op code switch. * properly pass the target when asking the type system for int info. * handle u8, i16, etc when it is represented using int_unsigned/int_signed tag. * compile error instead of assertion failure for unimplemented cases (greater than 64 bits integer). * control flow cleanups * zig.h: expand macros into inline functions * reduce the complexity of the test case by making it one test case that calls multiple functions. Also fix the problem of c_int max value mismatch between host and target.
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions