Use constant over string literal

This commit is contained in:
Richard Feldman 2022-02-01 20:44:00 -05:00
parent f8eec65229
commit 15969af53c
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798

View file

@ -6059,7 +6059,7 @@ fn run_low_level<'a, 'ctx, 'env>(
roc_target::PtrWidth::Bytes8 => {
let func = env
.module
.get_function("roc_builtins.utils.expect_failed")
.get_function(bitcode::UTILS_EXPECT_FAILED)
.unwrap();
let callable = CallableValue::try_from(func).unwrap();
let start_line = context.i32_type().const_int(0, false);