ruby-changes:68714
From: Alan <ko1@a...>
Date: Thu, 21 Oct 2021 08:12:32 +0900 (JST)
Subject: [ruby-changes:68714] ce233c95db (master): Remove assert that doesn't compile
https://git.ruby-lang.org/ruby.git/commit/?id=ce233c95db From ce233c95dbd7c9b6ea871947a269f3ce714b2e57 Mon Sep 17 00:00:00 2001 From: Alan Wu <XrXr@u...> Date: Thu, 21 Jan 2021 15:28:09 -0500 Subject: Remove assert that doesn't compile --- ujit_core.c | 2 -- 1 file changed, 2 deletions(-) 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 https://github.com/ruby/ruby/blob/trunk/ujit_core.c#L95 int ctx_get_top_type(ctx_t* ctx) { - RUBY_ASSERT(n <= ctx->stack_size); - if (ctx->stack_size > MAX_TEMP_TYPES) return T_NONE; -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/