Bug 135199

Summary: [Win] Use NO_RETURN_DUE_TO_CRASH on Windows
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: JavaScriptCoreAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, bfulgham, cmarcelo, commit-queue, d-r, fmalita, fpizlo, gyuyoung.kim, mark.lam, pdr, schenney, sergio
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
Patch mark.lam: review+

Description Brent Fulgham 2014-07-23 09:18:12 PDT
The NO_RETURN_DUE_TO_CRASH macro is defined for Clang as NO_RETURN. We have a NO_RETURN implementation on Windows; let's use it!

This patch activates NO_RETURN_DUE_TO_CRASH, and makes sure the declaration is made in the appropriate part of the function call to satisfy the MSVC compiler.
Comment 1 Brent Fulgham 2014-07-23 09:30:25 PDT
Created attachment 235354 [details]
Patch
Comment 2 Mark Lam 2014-07-23 09:50:42 PDT
Comment on attachment 235354 [details]
Patch

r=me
Comment 3 Brent Fulgham 2014-07-23 11:19:15 PDT
Committed r171482: <http://trac.webkit.org/changeset/171482>