1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove assert that doesn't compile

This commit is contained in:
Alan Wu 2021-01-21 15:28:09 -05:00
parent 0a42428098
commit ce233c95db

View file

@ -95,8 +95,6 @@ Returns T_NONE if unknown
int int
ctx_get_top_type(ctx_t* ctx) ctx_get_top_type(ctx_t* ctx)
{ {
RUBY_ASSERT(n <= ctx->stack_size);
if (ctx->stack_size > MAX_TEMP_TYPES) if (ctx->stack_size > MAX_TEMP_TYPES)
return T_NONE; return T_NONE;