| Index: src/globals.h
|
| diff --git a/src/globals.h b/src/globals.h
|
| index 8a67632d2cd74284b1c61807608a5ed8cb071465..ac5b71067baba5d3913ae9a8cd35a57db571f849 100644
|
| --- a/src/globals.h
|
| +++ b/src/globals.h
|
| @@ -390,6 +390,12 @@ F FUNCTION_CAST(Address addr) {
|
| #define DISABLE_ASAN
|
| #endif
|
|
|
| +#if V8_CC_GNU
|
| +#define V8_IMMEDIATE_CRASH() __builtin_trap()
|
| +#else
|
| +#define V8_IMMEDIATE_CRASH() ((void(*)())0)()
|
| +#endif
|
| +
|
|
|
| // -----------------------------------------------------------------------------
|
| // Forward declarations for frequently used classes
|
|
|