summaryrefslogtreecommitdiff
path: root/yjit/src/core.rs
diff options
context:
space:
mode:
authorNoah Gibbs (and/or Benchmark CI) <noah.gibbs@shopify.com>2022-08-12 10:35:52 +0000
committerTakashi Kokubun <takashikkbn@gmail.com>2022-08-29 08:47:11 -0700
commit09c12111d42573a19e7077bd8fa7e7cb709179de (patch)
tree1f836a2fb5f97e1575693d2accfce67ef73e8482 /yjit/src/core.rs
parent5a76a15a0f93100c7ff6361a34b06af936cc36c6 (diff)
Port jit_rb_str_concat to new backend, re-enable cfunc lookup (https://github.com/Shopify/ruby/pull/402)
Diffstat (limited to 'yjit/src/core.rs')
-rw-r--r--yjit/src/core.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/core.rs b/yjit/src/core.rs
index 1bc3d738ef..354615db25 100644
--- a/yjit/src/core.rs
+++ b/yjit/src/core.rs
@@ -69,7 +69,7 @@ impl Type {
} else if val.flonum_p() {
Type::Flonum
} else {
- unreachable!()
+ unreachable!("Illegal value: {:?}", val)
}
} else {
// Core.rs can't reference rb_cString because it's linked by Rust-only tests.