Ignore:
Timestamp:
Oct 9, 2014, 10:01:07 AM (11 years ago)
Author:
[email protected]
Message:

Fix compiler warning on noreturn function
https://bugs.webkit.org/show_bug.cgi?id=137558

Patch by Adrien Destugues <[email protected]> on 2014-10-09
Reviewed by Darin Adler.

The function is marked "noreturn", but the stub implementation does
return. No new tests: function is never called. Only fixes a warning.

  • heap/HeapStatistics.cpp:

(JSC::HeapStatistics::exitWithFailure):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/heap/HeapStatistics.cpp

    r173062 r174509  
    2929#include "Heap.h"
    3030#include "HeapIterationScope.h"
     31#include "JSCInlines.h"
    3132#include "JSObject.h"
    32 #include "JSCInlines.h"
    3333#include "Options.h"
    3434#include <stdlib.h>
     
    133133void HeapStatistics::exitWithFailure()
    134134{
     135    exit(-1);
    135136}
    136137
Note: See TracChangeset for help on using the changeset viewer.