diff options
| author | oli <github35764891676564198441@oli-obk.de> | 2020-11-01 16:57:03 +0000 |
|---|---|---|
| committer | oli <github35764891676564198441@oli-obk.de> | 2020-11-04 10:11:31 +0000 |
| commit | df4d717d0b150375057bd067356a4c7fe3c27551 (patch) | |
| tree | 6bf4b702f8d3d69a244c908c52f293ed3994a7ca /compiler/rustc_codegen_cranelift | |
| parent | 3a7970848cf3b525e94357fc9b01053b1ad15bcd (diff) | |
| download | rust-df4d717d0b150375057bd067356a4c7fe3c27551.tar.gz rust-df4d717d0b150375057bd067356a4c7fe3c27551.zip | |
s/Scalar::Raw/Scalar::Int
Diffstat (limited to 'compiler/rustc_codegen_cranelift')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/constant.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/constant.rs b/compiler/rustc_codegen_cranelift/src/constant.rs index d362a027373..41cfae4ca6e 100644 --- a/compiler/rustc_codegen_cranelift/src/constant.rs +++ b/compiler/rustc_codegen_cranelift/src/constant.rs @@ -186,7 +186,7 @@ pub(crate) fn codegen_const_value<'tcx>( } match x { - Scalar::Raw(int) => { + Scalar::Int(int) => { CValue::const_val(fx, layout, int) } Scalar::Ptr(ptr) => { |
