From b0703518705dd37e2e778f5ac18a6fb3ce54e49b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 13 Aug 2008 11:11:37 -0700 Subject: [PATCH] Fixed ExprFilter emitting corrupt LIR when reducing guards. --- js/src/nanojit/LIR.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/nanojit/LIR.cpp b/js/src/nanojit/LIR.cpp index dac5e95447e..75cf1663d72 100755 --- a/js/src/nanojit/LIR.cpp +++ b/js/src/nanojit/LIR.cpp @@ -837,7 +837,7 @@ namespace nanojit } else { // need a way to EOT now, since this is trace end. - return out->insGuard(LIR_x, 0, x); + return out->insGuard(LIR_x, out->insImm(1), x); } } else {