Remove bogus assert triggering inside valgrind.
authorDavid Anderson <danderson@mozilla.com>
Fri, 14 Oct 2011 17:33:18 -0700
changeset 78979 9e12e2ea9726153b39b796c6fdbc530428240951
parent 78978 7658d0234f1983a813fddec9f86a95906be245b2
child 78980 f085bb5e0ef0e41b8cbfca2580b50ffb68edcdc8
push idunknown
push userunknown
push dateunknown
milestone10.0a1
Remove bogus assert triggering inside valgrind.
js/src/ion/shared/Assembler-x86-shared.h
--- a/js/src/ion/shared/Assembler-x86-shared.h
+++ b/js/src/ion/shared/Assembler-x86-shared.h
@@ -312,17 +312,16 @@ class AssemblerX86Shared
         if (label->used()) {
             intptr_t src = label->offset();
             do {
                 intptr_t next = reinterpret_cast<intptr_t>(JSC::X86Assembler::getPointer(raw + src));
                 JSC::X86Assembler::setPointer(raw + src, address);
                 src = next;
             } while (src != AbsoluteLabel::INVALID_OFFSET);
         }
-        JS_ASSERT(((uint8 *)address - raw) >= 0 && ((uint8 *)address - raw) < INT_MAX);
         label->bind();
     }
 
     void ret() {
         masm.ret();
     }
     void call(Label *label) {
         if (label->bound()) {