diff --git a/ujit_core.c b/ujit_core.c index aaaf56d3b3..27340735db 100644 --- a/ujit_core.c +++ b/ujit_core.c @@ -95,8 +95,6 @@ Returns T_NONE if unknown int ctx_get_top_type(ctx_t* ctx) { - RUBY_ASSERT(n <= ctx->stack_size); - if (ctx->stack_size > MAX_TEMP_TYPES) return T_NONE;