diff options
author | Moonchild <moonchild@palemoon.org> | 2022-02-20 22:00:59 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-22 13:58:16 +0000 |
commit | 5aa65d2aeab36ea8de8129c0babcf70a5e4e662a (patch) | |
tree | 36ed652ffb09104d8a10c01261b851329f34882f /js/src/jit | |
parent | 712ca7303b0835772f8abca85ebec981e254a017 (diff) | |
download | uxp-5aa65d2aeab36ea8de8129c0babcf70a5e4e662a.tar.gz |
Issue #1877 - Resolve NIGHTLY_BUILD conditionals.
Diffstat (limited to 'js/src/jit')
-rw-r--r-- | js/src/jit/x86-shared/BaseAssembler-x86-shared.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/js/src/jit/x86-shared/BaseAssembler-x86-shared.h b/js/src/jit/x86-shared/BaseAssembler-x86-shared.h index 54b862a56c..b5f800cdab 100644 --- a/js/src/jit/x86-shared/BaseAssembler-x86-shared.h +++ b/js/src/jit/x86-shared/BaseAssembler-x86-shared.h @@ -2,6 +2,7 @@ * * ***** BEGIN LICENSE BLOCK ***** * Copyright (C) 2008 Apple Inc. All rights reserved. + * Portions Copyright (C) 2022 Moonchild Productions. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -3779,28 +3780,6 @@ threeByteOpImmSimd("vblendps", VEX_PD, OP3_BLENDPS_VpsWpsIb, ESCAPE_3A, imm, off return false; if (MOZ_UNLIKELY(size_t(offset) >= size())) { -#ifdef NIGHTLY_BUILD - // Stash some data on the stack so we can retrieve it from minidumps, - // see bug 1124397. - int32_t startOffset = from.offset() - 1; - while (startOffset >= 0 && code[startOffset] == 0xe5) - startOffset--; - int32_t endOffset = from.offset() - 1; - while (endOffset < int32_t(size()) && code[endOffset] == 0xe5) - endOffset++; - volatile uintptr_t dump[10]; - blackbox = dump; - blackbox[0] = uintptr_t(0xABCD1234); - blackbox[1] = uintptr_t(offset); - blackbox[2] = uintptr_t(size()); - blackbox[3] = uintptr_t(from.offset()); - blackbox[4] = uintptr_t(code[from.offset() - 5]); - blackbox[5] = uintptr_t(code[from.offset() - 4]); - blackbox[6] = uintptr_t(code[from.offset() - 3]); - blackbox[7] = uintptr_t(startOffset); - blackbox[8] = uintptr_t(endOffset); - blackbox[9] = uintptr_t(0xFFFF7777); -#endif MOZ_CRASH("nextJump bogus offset"); } |