Ignore:
Timestamp:
Sep 29, 2009, 5:20:23 AM (16 years ago)
Author:
[email protected]
Message:

2009-09-29 Janne Koskinen <[email protected]>

Reviewed by Darin Adler.

[Qt] Symbian CRASH macro implementation

Added Symbian specific crash macro that
stops to crash line if JIT debugging is used.
Additional differentiation of access violation
(KERN-EXEC 3) and CRASH panic.

  • wtf/Assertions.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/Assertions.h

    r48630 r48869  
    5151#endif
    5252
     53#if PLATFORM(SYMBIAN)
     54#include <e32def.h>
     55#include <e32debug.h>
     56#endif
     57
    5358#ifdef NDEBUG
    5459#define ASSERTIONS_DISABLED_DEFAULT 1
     
    121126
    122127#ifndef CRASH
     128#if PLATFORM(SYMBIAN)
     129#define CRASH() do { \
     130    __DEBUGGER(); \
     131    User::Panic(_L("Webkit CRASH"),0); \
     132    while(false)
     133#else
    123134#define CRASH() do { \
    124135    *(int *)(uintptr_t)0xbbadbeef = 0; \
    125136    ((void(*)())0)(); /* More reliable, but doesn't say BBADBEEF */ \
    126137} while(false)
     138#endif
    127139#endif
    128140
Note: See TracChangeset for help on using the changeset viewer.