summaryrefslogtreecommitdiffstats
path: root/chromium/base/immediate_crash.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/immediate_crash.h')
-rw-r--r--chromium/base/immediate_crash.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/chromium/base/immediate_crash.h b/chromium/base/immediate_crash.h
index 94ee14f1289..94158fe3ceb 100644
--- a/chromium/base/immediate_crash.h
+++ b/chromium/base/immediate_crash.h
@@ -101,20 +101,14 @@
#define TRAP_SEQUENCE1_() __asm volatile("brk #0\n")
// Intentionally empty: __builtin_unreachable() is always part of the sequence
-// (see IMMEDIATE_CRASH below) and already emits a ud2 on Win64
+// (see IMMEDIATE_CRASH below) and already emits a ud2 on Win64,
+// https://crbug.com/958373
#define TRAP_SEQUENCE2_() __asm volatile("")
#else
#define TRAP_SEQUENCE1_() asm volatile("int3")
-
-#if defined(ARCH_CPU_64_BITS)
-// Intentionally empty: __builtin_unreachable() is always part of the sequence
-// (see IMMEDIATE_CRASH below) and already emits a ud2 on Win64
-#define TRAP_SEQUENCE2_() asm volatile("")
-#else
#define TRAP_SEQUENCE2_() asm volatile("ud2")
-#endif // defined(ARCH_CPU_64_bits)
#endif // __clang__