From aa4de72f2b410f78c2b7a94ee56d298f9e8de7a4 Mon Sep 17 00:00:00 2001 From: Andreas Gal Date: Tue, 10 Jun 2008 14:17:05 -0700 Subject: [PATCH] Disable JSOP_HEADER counting. --- js/src/jsinterp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/src/jsinterp.cpp b/js/src/jsinterp.cpp index b1675a8cf9b..d51d0bbe427 100644 --- a/js/src/jsinterp.cpp +++ b/js/src/jsinterp.cpp @@ -3021,6 +3021,7 @@ JS_INTERPRET(JSContext *cx) END_EMPTY_CASES BEGIN_CASE(JSOP_HEADER) +#if 0 if (script->loopBase != LOOP_TABLE_NO_SLOT) { slot = GET_UINT8(regs.pc); JS_ASSERT(slot < script->loopHeaders); @@ -3062,6 +3063,7 @@ JS_INTERPRET(JSContext *cx) /* Execute the tree. */ } } +#endif END_CASE(JSOP_HEADER) /* ADD_EMPTY_CASE is not used here as JSOP_LINENO_LENGTH == 3. */