diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2015-03-27 01:37:10 +0100 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2015-04-01 02:56:07 +0200 |
| commit | 2e93e386fd228176aeb1100bfdf961bdae2b51b9 (patch) | |
| tree | 309396a0a5033094a186587409bfe272869aee96 /src/rustllvm/RustWrapper.cpp | |
| parent | 7875dae83fac23fdf59765eb548c2237850d6b15 (diff) | |
| download | rust-2e93e386fd228176aeb1100bfdf961bdae2b51b9.tar.gz rust-2e93e386fd228176aeb1100bfdf961bdae2b51b9.zip | |
rust_llvm: Add way to reflectively ask if a ValueRef is a known constant int.
Add option-returning variants to `const_to_int`/`const_to_uint` that never assert fail. (These will be used for overflow checking from rustc_trans::trans::consts.)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
