From 76a2288dccecc9c3d4d135f4b47e5dd64fa7d390 Mon Sep 17 00:00:00 2001 From: Andreas Gal Date: Wed, 13 Aug 2008 12:01:06 -0700 Subject: [PATCH] Assert on bogus always-exit guards. --- js/src/nanojit/LIR.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/src/nanojit/LIR.cpp b/js/src/nanojit/LIR.cpp index 75cf1663d72..4e257a29f56 100755 --- a/js/src/nanojit/LIR.cpp +++ b/js/src/nanojit/LIR.cpp @@ -837,6 +837,9 @@ namespace nanojit } else { // need a way to EOT now, since this is trace end. +#ifdef JS_TRACER + AvmAssert(0); +#endif return out->insGuard(LIR_x, out->insImm(1), x); } }