diff options
Diffstat (limited to 'js/src/jit/x86-shared/BaseAssembler-x86-shared.h')
-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"); } |