diff options
| author | Sahnvour <Sahnvour@users.noreply.github.com> | 2018-11-19 22:22:21 +0100 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-11-19 16:22:21 -0500 |
| commit | 703c6684d103f14193411b589eaa0e0b1e1189f0 (patch) | |
| tree | 3c19fddb4174bb5ed104e6dbac573533821956cd /src/tokenizer.cpp | |
| parent | 89e82281be73701f5a634770366e9dca5a0e89a9 (diff) | |
| download | zig-703c6684d103f14193411b589eaa0e0b1e1189f0.tar.gz zig-703c6684d103f14193411b589eaa0e0b1e1189f0.zip | |
Crash fixes and small improvements to inline asm. (#1756)
* codegen: LLVMConstInlineAsm is deprecated.
* codegen: replace commas in asm constraint strings by pipes as required by LLVM.
* ir: enforce usage of '=' constraint modifier for inline assembly outputs.
Others are not currently supported and this was just asserted alter in `ir_render_asm`.
* asm: forbid comptime_int/floats as inputs in favor of explicitely sized constants.
Fixes a crash due to comptime_int/floats having no type_ref.
* asm: handle inputs with integers of <8 or non power of 2 bitsize.
We widen them to the next highest power of two.
Diffstat (limited to 'src/tokenizer.cpp')
0 files changed, 0 insertions, 0 deletions
