Changeset 174509 in webkit for trunk/Source/JavaScriptCore


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):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r174503 r174509  
     12014-10-09  Adrien Destugues  <[email protected]>
     2
     3        Fix compiler warning on noreturn function
     4        https://bugs.webkit.org/show_bug.cgi?id=137558
     5
     6        Reviewed by Darin Adler.
     7
     8        The function is marked "noreturn", but the stub implementation does
     9        return. No new tests: function is never called. Only fixes a warning.
     10
     11        * heap/HeapStatistics.cpp:
     12        (JSC::HeapStatistics::exitWithFailure):
     13
    1142014-10-09  Akos Kiss  <[email protected]>
    215
  • 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.