aboutsummaryrefslogtreecommitdiff
path: root/src/vec.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-10-22 18:56:04 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-10-22 18:56:04 +0300
commit3e8bbb6bcbb3b36e9813344e2f4528bb830d6ff4 (patch)
treee57ed757cd9aeab0673cd33882a07989e52513b0 /src/vec.h
parent7f7b22674ed8e9633cd0e47662508c3641e9f967 (diff)
downloadejit-3e8bbb6bcbb3b36e9813344e2f4528bb830d6ff4.tar.gz
ejit-3e8bbb6bcbb3b36e9813344e2f4528bb830d6ff4.zip
move interp into run_interp
+ This allows us to skip a potential extra function call
Diffstat (limited to 'src/vec.h')
-rw-r--r--src/vec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vec.h b/src/vec.h
index 37f29f6..90558ac 100644
--- a/src/vec.h
+++ b/src/vec.h
@@ -107,7 +107,7 @@ static inline void VEC(reserve)(struct VEC_STRUCT *v, size_t n)
static inline void VEC(shrink)(struct VEC_STRUCT *v, size_t n)
{
- assert(v->n >= n);
+ /* assert(v->n >= n); */
v->n = n;
}