<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[194858] trunk/Source/JavaScriptCore</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/194858">194858</a></dd>
<dt>Author</dt> <dd>ossy@webkit.org</dd>
<dt>Date</dt> <dd>2016-01-11 10:13:36 -0800 (Mon, 11 Jan 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>[B3] Fix control reaches end of non-void function GCC warnings on Linux
https://bugs.webkit.org/show_bug.cgi?id=152887
Reviewed by Mark Lam.
* b3/B3LowerToAir.cpp:
(JSC::B3::Air::LowerToAir::createBranch):
(JSC::B3::Air::LowerToAir::createCompare):
(JSC::B3::Air::LowerToAir::createSelect):
* b3/B3Type.h:
(JSC::B3::sizeofType):
* b3/air/AirArg.cpp:
(JSC::B3::Air::Arg::isRepresentableAs):
* b3/air/AirArg.h:
(JSC::B3::Air::Arg::isAnyUse):
(JSC::B3::Air::Arg::isColdUse):
(JSC::B3::Air::Arg::isEarlyUse):
(JSC::B3::Air::Arg::isLateUse):
(JSC::B3::Air::Arg::isAnyDef):
(JSC::B3::Air::Arg::isEarlyDef):
(JSC::B3::Air::Arg::isLateDef):
(JSC::B3::Air::Arg::isZDef):
(JSC::B3::Air::Arg::widthForB3Type):
(JSC::B3::Air::Arg::isGP):
(JSC::B3::Air::Arg::isFP):
(JSC::B3::Air::Arg::isType):
(JSC::B3::Air::Arg::isValidForm):
* b3/air/AirCode.h:
(JSC::B3::Air::Code::newTmp):
(JSC::B3::Air::Code::numTmps):</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreb3B3LowerToAircpp">trunk/Source/JavaScriptCore/b3/B3LowerToAir.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreb3B3Typeh">trunk/Source/JavaScriptCore/b3/B3Type.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreb3airAirArgcpp">trunk/Source/JavaScriptCore/b3/air/AirArg.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreb3airAirArgh">trunk/Source/JavaScriptCore/b3/air/AirArg.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreb3airAirCodeh">trunk/Source/JavaScriptCore/b3/air/AirCode.h</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (194857 => 194858)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2016-01-11 17:39:25 UTC (rev 194857)
+++ trunk/Source/JavaScriptCore/ChangeLog        2016-01-11 18:13:36 UTC (rev 194858)
</span><span class="lines">@@ -1,3 +1,36 @@
</span><ins>+2016-01-11 Csaba Osztrogonác <ossy@webkit.org>
+
+ [B3] Fix control reaches end of non-void function GCC warnings on Linux
+ https://bugs.webkit.org/show_bug.cgi?id=152887
+
+ Reviewed by Mark Lam.
+
+ * b3/B3LowerToAir.cpp:
+ (JSC::B3::Air::LowerToAir::createBranch):
+ (JSC::B3::Air::LowerToAir::createCompare):
+ (JSC::B3::Air::LowerToAir::createSelect):
+ * b3/B3Type.h:
+ (JSC::B3::sizeofType):
+ * b3/air/AirArg.cpp:
+ (JSC::B3::Air::Arg::isRepresentableAs):
+ * b3/air/AirArg.h:
+ (JSC::B3::Air::Arg::isAnyUse):
+ (JSC::B3::Air::Arg::isColdUse):
+ (JSC::B3::Air::Arg::isEarlyUse):
+ (JSC::B3::Air::Arg::isLateUse):
+ (JSC::B3::Air::Arg::isAnyDef):
+ (JSC::B3::Air::Arg::isEarlyDef):
+ (JSC::B3::Air::Arg::isLateDef):
+ (JSC::B3::Air::Arg::isZDef):
+ (JSC::B3::Air::Arg::widthForB3Type):
+ (JSC::B3::Air::Arg::isGP):
+ (JSC::B3::Air::Arg::isFP):
+ (JSC::B3::Air::Arg::isType):
+ (JSC::B3::Air::Arg::isValidForm):
+ * b3/air/AirCode.h:
+ (JSC::B3::Air::Code::newTmp):
+ (JSC::B3::Air::Code::numTmps):
+
</ins><span class="cx"> 2016-01-11 Filip Pizlo <fpizlo@apple.com>
</span><span class="cx">
</span><span class="cx"> Make it easier to introduce exotic instructions to Air
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreb3B3LowerToAircpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/b3/B3LowerToAir.cpp (194857 => 194858)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/b3/B3LowerToAir.cpp        2016-01-11 17:39:25 UTC (rev 194857)
+++ trunk/Source/JavaScriptCore/b3/B3LowerToAir.cpp        2016-01-11 18:13:36 UTC (rev 194858)
</span><span class="lines">@@ -52,6 +52,11 @@
</span><span class="cx"> #include "B3ValueInlines.h"
</span><span class="cx"> #include <wtf/ListDump.h>
</span><span class="cx">
</span><ins>+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wreturn-type"
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
</ins><span class="cx"> namespace JSC { namespace B3 {
</span><span class="cx">
</span><span class="cx"> using namespace Air;
</span><span class="lines">@@ -1338,6 +1343,7 @@
</span><span class="cx"> }
</span><span class="cx"> return Inst();
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> },
</span><span class="cx"> [this] (
</span><span class="cx"> Arg::Width width, const Arg& resCond,
</span><span class="lines">@@ -1367,6 +1373,7 @@
</span><span class="cx"> }
</span><span class="cx"> return Inst();
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> },
</span><span class="cx"> [this] (Arg doubleCond, const ArgPromise& left, const ArgPromise& right) -> Inst {
</span><span class="cx"> if (isValidForm(BranchDouble, Arg::DoubleCond, left.kind(), right.kind())) {
</span><span class="lines">@@ -1413,6 +1420,7 @@
</span><span class="cx"> }
</span><span class="cx"> return Inst();
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> },
</span><span class="cx"> [this] (
</span><span class="cx"> Arg::Width width, const Arg& resCond,
</span><span class="lines">@@ -1436,6 +1444,7 @@
</span><span class="cx"> }
</span><span class="cx"> return Inst();
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> },
</span><span class="cx"> [this] (const Arg& doubleCond, const ArgPromise& left, const ArgPromise& right) -> Inst {
</span><span class="cx"> if (isValidForm(CompareDouble, Arg::DoubleCond, left.kind(), right.kind(), Arg::Tmp)) {
</span><span class="lines">@@ -1495,6 +1504,7 @@
</span><span class="cx"> }
</span><span class="cx"> return Inst();
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> },
</span><span class="cx"> [&] (
</span><span class="cx"> Arg::Width width, const Arg& resCond,
</span><span class="lines">@@ -1521,6 +1531,7 @@
</span><span class="cx"> }
</span><span class="cx"> return Inst();
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> },
</span><span class="cx"> [&] (Arg doubleCond, const ArgPromise& left, const ArgPromise& right) -> Inst {
</span><span class="cx"> if (isValidForm(config.moveConditionallyDouble, Arg::DoubleCond, left.kind(), right.kind(), Arg::Tmp, Arg::Tmp)) {
</span><span class="lines">@@ -2298,5 +2309,8 @@
</span><span class="cx">
</span><span class="cx"> } } // namespace JSC::B3
</span><span class="cx">
</span><ins>+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic pop
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
</ins><span class="cx"> #endif // ENABLE(B3_JIT)
</span><del>-
</del></span></pre></div>
<a id="trunkSourceJavaScriptCoreb3B3Typeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/b3/B3Type.h (194857 => 194858)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/b3/B3Type.h        2016-01-11 17:39:25 UTC (rev 194857)
+++ trunk/Source/JavaScriptCore/b3/B3Type.h        2016-01-11 18:13:36 UTC (rev 194858)
</span><span class="lines">@@ -31,6 +31,11 @@
</span><span class="cx"> #include "B3Common.h"
</span><span class="cx"> #include <wtf/StdLibExtras.h>
</span><span class="cx">
</span><ins>+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wreturn-type"
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
</ins><span class="cx"> namespace JSC { namespace B3 {
</span><span class="cx">
</span><span class="cx"> enum Type : int8_t {
</span><span class="lines">@@ -70,6 +75,7 @@
</span><span class="cx"> case Double:
</span><span class="cx"> return 8;
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> } } // namespace JSC::B3
</span><span class="lines">@@ -82,7 +88,10 @@
</span><span class="cx">
</span><span class="cx"> } // namespace WTF
</span><span class="cx">
</span><ins>+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic pop
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
</ins><span class="cx"> #endif // ENABLE(B3_JIT)
</span><span class="cx">
</span><span class="cx"> #endif // B3Type_h
</span><del>-
</del></span></pre></div>
<a id="trunkSourceJavaScriptCoreb3airAirArgcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/b3/air/AirArg.cpp (194857 => 194858)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/b3/air/AirArg.cpp        2016-01-11 17:39:25 UTC (rev 194857)
+++ trunk/Source/JavaScriptCore/b3/air/AirArg.cpp        2016-01-11 18:13:36 UTC (rev 194858)
</span><span class="lines">@@ -31,6 +31,11 @@
</span><span class="cx"> #include "AirSpecial.h"
</span><span class="cx"> #include "AirStackSlot.h"
</span><span class="cx">
</span><ins>+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wreturn-type"
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
</ins><span class="cx"> namespace JSC { namespace B3 { namespace Air {
</span><span class="cx">
</span><span class="cx"> bool Arg::isRepresentableAs(Width width, Signedness signedness) const
</span><span class="lines">@@ -59,6 +64,7 @@
</span><span class="cx"> return isRepresentableAs<uint64_t>();
</span><span class="cx"> }
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void Arg::dump(PrintStream& out) const
</span><span class="lines">@@ -257,4 +263,8 @@
</span><span class="cx">
</span><span class="cx"> } // namespace WTF
</span><span class="cx">
</span><ins>+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic pop
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
</ins><span class="cx"> #endif // ENABLE(B3_JIT)
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreb3airAirArgh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/b3/air/AirArg.h (194857 => 194858)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/b3/air/AirArg.h        2016-01-11 17:39:25 UTC (rev 194857)
+++ trunk/Source/JavaScriptCore/b3/air/AirArg.h        2016-01-11 18:13:36 UTC (rev 194858)
</span><span class="lines">@@ -33,6 +33,11 @@
</span><span class="cx"> #include "B3Type.h"
</span><span class="cx"> #include <wtf/Optional.h>
</span><span class="cx">
</span><ins>+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wreturn-type"
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
</ins><span class="cx"> namespace JSC { namespace B3 { namespace Air {
</span><span class="cx">
</span><span class="cx"> class Special;
</span><span class="lines">@@ -194,6 +199,7 @@
</span><span class="cx"> case EarlyDef:
</span><span class="cx"> return false;
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static bool isColdUse(Role role)
</span><span class="lines">@@ -213,6 +219,7 @@
</span><span class="cx"> case EarlyDef:
</span><span class="cx"> return false;
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static bool isWarmUse(Role role)
</span><span class="lines">@@ -238,6 +245,7 @@
</span><span class="cx"> case EarlyDef:
</span><span class="cx"> return false;
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // Returns true if the Role implies that the Inst will Use the Arg after doing everything else.
</span><span class="lines">@@ -258,6 +266,7 @@
</span><span class="cx"> case EarlyDef:
</span><span class="cx"> return false;
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // Returns true if the Role implies that the Inst will Def the Arg.
</span><span class="lines">@@ -278,6 +287,7 @@
</span><span class="cx"> case Scratch:
</span><span class="cx"> return true;
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // Returns true if the Role implies that the Inst will Def the Arg before start of execution.
</span><span class="lines">@@ -298,6 +308,7 @@
</span><span class="cx"> case Scratch:
</span><span class="cx"> return true;
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // Returns true if the Role implies that the Inst will Def the Arg after the end of execution.
</span><span class="lines">@@ -318,6 +329,7 @@
</span><span class="cx"> case UseZDef:
</span><span class="cx"> return true;
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // Returns true if the Role implies that the Inst will ZDef the Arg.
</span><span class="lines">@@ -338,6 +350,7 @@
</span><span class="cx"> case UseZDef:
</span><span class="cx"> return true;
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static Type typeForB3Type(B3::Type type)
</span><span class="lines">@@ -370,6 +383,7 @@
</span><span class="cx"> case Double:
</span><span class="cx"> return Width64;
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static Width conservativeWidth(Type type)
</span><span class="lines">@@ -760,6 +774,7 @@
</span><span class="cx"> case Invalid:
</span><span class="cx"> return false;
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // Tells us if this Arg can be used in a position that requires a FP value.
</span><span class="lines">@@ -782,6 +797,7 @@
</span><span class="cx"> case Tmp:
</span><span class="cx"> return isFPTmp();
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool hasType() const
</span><span class="lines">@@ -810,6 +826,7 @@
</span><span class="cx"> case FP:
</span><span class="cx"> return isFP();
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool isGPR() const
</span><span class="lines">@@ -955,6 +972,7 @@
</span><span class="cx"> case Special:
</span><span class="cx"> return true;
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> template<typename Functor>
</span><span class="lines">@@ -1161,6 +1179,10 @@
</span><span class="cx">
</span><span class="cx"> } // namespace WTF
</span><span class="cx">
</span><ins>+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic pop
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
</ins><span class="cx"> #endif // ENABLE(B3_JIT)
</span><span class="cx">
</span><span class="cx"> #endif // AirArg_h
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreb3airAirCodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/b3/air/AirCode.h (194857 => 194858)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/b3/air/AirCode.h        2016-01-11 17:39:25 UTC (rev 194857)
+++ trunk/Source/JavaScriptCore/b3/air/AirCode.h        2016-01-11 18:13:36 UTC (rev 194858)
</span><span class="lines">@@ -39,6 +39,11 @@
</span><span class="cx">
</span><span class="cx"> class Procedure;
</span><span class="cx">
</span><ins>+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wreturn-type"
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
</ins><span class="cx"> namespace Air {
</span><span class="cx">
</span><span class="cx"> class CCallSpecial;
</span><span class="lines">@@ -76,6 +81,7 @@
</span><span class="cx"> case Arg::FP:
</span><span class="cx"> return Tmp::fpTmpForIndex(m_numFPTmps++);
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> unsigned numTmps(Arg::Type type)
</span><span class="lines">@@ -86,6 +92,7 @@
</span><span class="cx"> case Arg::FP:
</span><span class="cx"> return m_numFPTmps;
</span><span class="cx"> }
</span><ins>+ ASSERT_NOT_REACHED();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> unsigned callArgAreaSize() const { return m_callArgAreaSize; }
</span><span class="lines">@@ -335,6 +342,10 @@
</span><span class="cx">
</span><span class="cx"> } } } // namespace JSC::B3::Air
</span><span class="cx">
</span><ins>+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic pop
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
</ins><span class="cx"> #endif // ENABLE(B3_JIT)
</span><span class="cx">
</span><span class="cx"> #endif // AirCode_h
</span></span></pre>
</div>
</div>
</body>
</html>