[Webkit-unassigned] [Bug 28317] Assertion being hit on layout tests in debug build

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 18 09:59:45 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28317





--- Comment #6 from Priit Laes (IRC: plaes) <amd at store20.com>  2009-08-18 09:59:45 PDT ---
Well, I have currently no better idea than this...

diff --git a/JavaScriptCore/jit/JIT.h b/JavaScriptCore/jit/JIT.h
index 5c6607c..9abdafc 100644
--- a/JavaScriptCore/jit/JIT.h
+++ b/JavaScriptCore/jit/JIT.h
@@ -537,8 +537,12 @@ namespace JSC {
 #if ENABLE(OPCODE_SAMPLING)
         static const int patchOffsetGetByIdSlowCaseCall = 63;
 #else
+#ifndef NDEBUG
+        static const int patchOffsetGetByIdSlowCaseCall = 35;
+#else
         static const int patchOffsetGetByIdSlowCaseCall = 41;
-#endif
+#endif // NDEBUG
+#endif // ENABLE(OPCODE_SAMPLING)
         static const int patchOffsetOpCallCompareToJump = 9;

         static const int patchOffsetMethodCheckProtoObj = 20;

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list