<!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>[184525] branches/safari-601.1.32-branch/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/184525">184525</a></dd>
<dt>Author</dt> <dd>matthew_hanson@apple.com</dd>
<dt>Date</dt> <dd>2015-05-18 17:08:35 -0700 (Mon, 18 May 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Merge <a href="http://trac.webkit.org/projects/webkit/changeset/184368">r184368</a>. rdar://problem/20979071</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branchessafari601132branchSourceJavaScriptCoreChangeLog">branches/safari-601.1.32-branch/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#branchessafari601132branchSourceJavaScriptCoredfgDFGAbstractInterpreterInlinesh">branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h</a></li>
<li><a href="#branchessafari601132branchSourceJavaScriptCoredfgDFGClobberizeh">branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGClobberize.h</a></li>
<li><a href="#branchessafari601132branchSourceJavaScriptCoredfgDFGDoesGCcpp">branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGDoesGC.cpp</a></li>
<li><a href="#branchessafari601132branchSourceJavaScriptCoredfgDFGFixupPhasecpp">branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp</a></li>
<li><a href="#branchessafari601132branchSourceJavaScriptCoredfgDFGNodeh">branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGNode.h</a></li>
<li><a href="#branchessafari601132branchSourceJavaScriptCoredfgDFGNodeTypeh">branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGNodeType.h</a></li>
<li><a href="#branchessafari601132branchSourceJavaScriptCoredfgDFGObjectAllocationSinkingPhasecpp">branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGObjectAllocationSinkingPhase.cpp</a></li>
<li><a href="#branchessafari601132branchSourceJavaScriptCoredfgDFGPredictionPropagationPhasecpp">branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGPredictionPropagationPhase.cpp</a></li>
<li><a href="#branchessafari601132branchSourceJavaScriptCoredfgDFGSafeToExecuteh">branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSafeToExecute.h</a></li>
<li><a href="#branchessafari601132branchSourceJavaScriptCoredfgDFGSpeculativeJITcpp">branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp</a></li>
<li><a href="#branchessafari601132branchSourceJavaScriptCoredfgDFGSpeculativeJIT32_64cpp">branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSpeculativeJIT32_64.cpp</a></li>
<li><a href="#branchessafari601132branchSourceJavaScriptCoredfgDFGSpeculativeJIT64cpp">branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp</a></li>
<li><a href="#branchessafari601132branchSourceJavaScriptCoreftlFTLCapabilitiescpp">branches/safari-601.1.32-branch/Source/JavaScriptCore/ftl/FTLCapabilities.cpp</a></li>
<li><a href="#branchessafari601132branchSourceJavaScriptCoreftlFTLLowerDFGToLLVMcpp">branches/safari-601.1.32-branch/Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="branchessafari601132branchSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/ChangeLog (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/ChangeLog        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/ChangeLog        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -1,5 +1,48 @@
</span><span class="cx"> 2015-05-18  Matthew Hanson  &lt;matthew_hanson@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Merge r184368. rdar://problem/20979071
+
+    2015-05-14  Filip Pizlo  &lt;fpizlo@apple.com&gt;
+
+            Remove StoreBarrierWithNullCheck, nobody ever generates this.
+
+            Rubber stamped by Benjamin Poulain and Michael Saboff.
+
+            If we did bring something like this back in the future, we would just use UntypedUse instead
+            of CellUse to indicate that this is what we want.
+
+            * dfg/DFGAbstractInterpreterInlines.h:
+            (JSC::DFG::AbstractInterpreter&lt;AbstractStateType&gt;::executeEffects):
+            * dfg/DFGClobberize.h:
+            (JSC::DFG::clobberize):
+            * dfg/DFGDoesGC.cpp:
+            (JSC::DFG::doesGC):
+            * dfg/DFGFixupPhase.cpp:
+            (JSC::DFG::FixupPhase::fixupNode):
+            * dfg/DFGNode.h:
+            (JSC::DFG::Node::isStoreBarrier):
+            * dfg/DFGNodeType.h:
+            * dfg/DFGObjectAllocationSinkingPhase.cpp:
+            (JSC::DFG::ObjectAllocationSinkingPhase::lowerNonReadingOperationsOnPhantomAllocations):
+            (JSC::DFG::ObjectAllocationSinkingPhase::handleNode):
+            * dfg/DFGPredictionPropagationPhase.cpp:
+            (JSC::DFG::PredictionPropagationPhase::propagate):
+            * dfg/DFGSafeToExecute.h:
+            (JSC::DFG::safeToExecute):
+            * dfg/DFGSpeculativeJIT.cpp:
+            (JSC::DFG::SpeculativeJIT::compileStoreBarrier):
+            * dfg/DFGSpeculativeJIT32_64.cpp:
+            (JSC::DFG::SpeculativeJIT::compile):
+            * dfg/DFGSpeculativeJIT64.cpp:
+            (JSC::DFG::SpeculativeJIT::compile):
+            * ftl/FTLCapabilities.cpp:
+            (JSC::FTL::canCompile):
+            * ftl/FTLLowerDFGToLLVM.cpp:
+            (JSC::FTL::LowerDFGToLLVM::compileNode):
+            (JSC::FTL::LowerDFGToLLVM::compileStoreBarrierWithNullCheck): Deleted.
+
+2015-05-18  Matthew Hanson  &lt;matthew_hanson@apple.com&gt;
+
</ins><span class="cx">         Merge r184367. rdar://problem/20979071
</span><span class="cx"> 
</span><span class="cx">     2015-05-14  Filip Pizlo  &lt;fpizlo@apple.com&gt;
</span></span></pre></div>
<a id="branchessafari601132branchSourceJavaScriptCoredfgDFGAbstractInterpreterInlinesh"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -2235,10 +2235,6 @@
</span><span class="cx">         break;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    case StoreBarrierWithNullCheck: {
-        break;
-    }
-
</del><span class="cx">     case CheckTierUpAndOSREnter:
</span><span class="cx">     case LoopHint:
</span><span class="cx">     case ZombieHint:
</span></span></pre></div>
<a id="branchessafari601132branchSourceJavaScriptCoredfgDFGClobberizeh"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGClobberize.h (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGClobberize.h        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGClobberize.h        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -292,7 +292,6 @@
</span><span class="cx">     case ProfileType:
</span><span class="cx">     case ProfileControlFlow:
</span><span class="cx">     case StoreBarrier:
</span><del>-    case StoreBarrierWithNullCheck:
</del><span class="cx">     case PutHint:
</span><span class="cx">         write(SideState);
</span><span class="cx">         return;
</span></span></pre></div>
<a id="branchessafari601132branchSourceJavaScriptCoredfgDFGDoesGCcpp"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGDoesGC.cpp (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGDoesGC.cpp        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGDoesGC.cpp        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -160,7 +160,6 @@
</span><span class="cx">     case CheckTierUpAndOSREnter:
</span><span class="cx">     case LoopHint:
</span><span class="cx">     case StoreBarrier:
</span><del>-    case StoreBarrierWithNullCheck:
</del><span class="cx">     case InvalidationPoint:
</span><span class="cx">     case NotifyWrite:
</span><span class="cx">     case CheckInBounds:
</span></span></pre></div>
<a id="branchessafari601132branchSourceJavaScriptCoredfgDFGFixupPhasecpp"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -1233,7 +1233,6 @@
</span><span class="cx">         case ExtractOSREntryLocal:
</span><span class="cx">         case LoopHint:
</span><span class="cx">         case StoreBarrier:
</span><del>-        case StoreBarrierWithNullCheck:
</del><span class="cx">         case MovHint:
</span><span class="cx">         case ZombieHint:
</span><span class="cx">         case BottomValue:
</span></span></pre></div>
<a id="branchessafari601132branchSourceJavaScriptCoredfgDFGNodeh"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGNode.h (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGNode.h        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGNode.h        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -830,13 +830,7 @@
</span><span class="cx"> 
</span><span class="cx">     bool isStoreBarrier()
</span><span class="cx">     {
</span><del>-        switch (op()) {
-        case StoreBarrier:
-        case StoreBarrierWithNullCheck:
-            return true;
-        default:
-            return false;
-        }
</del><ins>+        return op() == StoreBarrier;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     bool hasIdentifier()
</span></span></pre></div>
<a id="branchessafari601132branchSourceJavaScriptCoredfgDFGNodeTypeh"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGNodeType.h (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGNodeType.h        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGNodeType.h        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -322,7 +322,6 @@
</span><span class="cx">     macro(CheckWatchdogTimer, NodeMustGenerate) \
</span><span class="cx">     /* Write barriers ! */\
</span><span class="cx">     macro(StoreBarrier, NodeMustGenerate) \
</span><del>-    macro(StoreBarrierWithNullCheck, NodeMustGenerate) \
</del><span class="cx">     \
</span><span class="cx">     /* For-in enumeration opcodes */\
</span><span class="cx">     macro(GetEnumerableLength, NodeMustGenerate | NodeResultJS) \
</span></span></pre></div>
<a id="branchessafari601132branchSourceJavaScriptCoredfgDFGObjectAllocationSinkingPhasecpp"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGObjectAllocationSinkingPhase.cpp (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGObjectAllocationSinkingPhase.cpp        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGObjectAllocationSinkingPhase.cpp        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -610,8 +610,7 @@
</span><span class="cx">                     break;
</span><span class="cx">                 }
</span><span class="cx"> 
</span><del>-                case StoreBarrier:
-                case StoreBarrierWithNullCheck: {
</del><ins>+                case StoreBarrier: {
</ins><span class="cx">                     Node* target = node-&gt;child1().node();
</span><span class="cx">                     if (m_sinkCandidates.contains(target)) {
</span><span class="cx">                         ASSERT(target-&gt;isPhantomAllocation());
</span><span class="lines">@@ -849,7 +848,6 @@
</span><span class="cx">         case Check:
</span><span class="cx">         case PutHint:
</span><span class="cx">         case StoreBarrier:
</span><del>-        case StoreBarrierWithNullCheck:
</del><span class="cx">             break;
</span><span class="cx"> 
</span><span class="cx">         case PutStructure:
</span></span></pre></div>
<a id="branchessafari601132branchSourceJavaScriptCoredfgDFGPredictionPropagationPhasecpp"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGPredictionPropagationPhase.cpp (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGPredictionPropagationPhase.cpp        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGPredictionPropagationPhase.cpp        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -610,7 +610,6 @@
</span><span class="cx"> #ifndef NDEBUG
</span><span class="cx">         // These get ignored because they don't return anything.
</span><span class="cx">         case StoreBarrier:
</span><del>-        case StoreBarrierWithNullCheck:
</del><span class="cx">         case PutByValDirect:
</span><span class="cx">         case PutByVal:
</span><span class="cx">         case PutClosureVar:
</span></span></pre></div>
<a id="branchessafari601132branchSourceJavaScriptCoredfgDFGSafeToExecuteh"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSafeToExecute.h (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSafeToExecute.h        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSafeToExecute.h        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -247,7 +247,6 @@
</span><span class="cx">     case CheckTierUpAndOSREnter:
</span><span class="cx">     case LoopHint:
</span><span class="cx">     case StoreBarrier:
</span><del>-    case StoreBarrierWithNullCheck:
</del><span class="cx">     case InvalidationPoint:
</span><span class="cx">     case NotifyWrite:
</span><span class="cx">     case CheckInBounds:
</span></span></pre></div>
<a id="branchessafari601132branchSourceJavaScriptCoredfgDFGSpeculativeJITcpp"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -6068,37 +6068,14 @@
</span><span class="cx"> #if ENABLE(GGC)
</span><span class="cx"> void SpeculativeJIT::compileStoreBarrier(Node* node)
</span><span class="cx"> {
</span><del>-    switch (node-&gt;op()) {
-    case StoreBarrier: {
-        SpeculateCellOperand base(this, node-&gt;child1());
-        GPRTemporary scratch1(this);
-        GPRTemporary scratch2(this);
</del><ins>+    ASSERT(node-&gt;op() == StoreBarrier);
</ins><span class="cx">     
</span><del>-        writeBarrier(base.gpr(), scratch1.gpr(), scratch2.gpr());
-        break;
-    }
-
-    case StoreBarrierWithNullCheck: {
-        JSValueOperand base(this, node-&gt;child1());
-        GPRTemporary scratch1(this);
-        GPRTemporary scratch2(this);
</del><ins>+    SpeculateCellOperand base(this, node-&gt;child1());
+    GPRTemporary scratch1(this);
+    GPRTemporary scratch2(this);
</ins><span class="cx">     
</span><del>-#if USE(JSVALUE64)
-        JITCompiler::Jump isNull = m_jit.branchTest64(JITCompiler::Zero, base.gpr());
-        writeBarrier(base.gpr(), scratch1.gpr(), scratch2.gpr());
-#else
-        JITCompiler::Jump isNull = m_jit.branch32(JITCompiler::Equal, base.tagGPR(), TrustedImm32(JSValue::EmptyValueTag));
-        writeBarrier(base.payloadGPR(), scratch1.gpr(), scratch2.gpr());
-#endif
-        isNull.link(&amp;m_jit);
-        break;
-    }
</del><ins>+    writeBarrier(base.gpr(), scratch1.gpr(), scratch2.gpr());
</ins><span class="cx"> 
</span><del>-    default:
-        RELEASE_ASSERT_NOT_REACHED();
-        break;
-    }
-
</del><span class="cx">     noResult(node);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="branchessafari601132branchSourceJavaScriptCoredfgDFGSpeculativeJIT32_64cpp"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSpeculativeJIT32_64.cpp (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSpeculativeJIT32_64.cpp        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSpeculativeJIT32_64.cpp        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -4222,8 +4222,7 @@
</span><span class="cx">         compileIn(node);
</span><span class="cx">         break;
</span><span class="cx"> 
</span><del>-    case StoreBarrier:
-    case StoreBarrierWithNullCheck: {
</del><ins>+    case StoreBarrier: {
</ins><span class="cx">         compileStoreBarrier(node);
</span><span class="cx">         break;
</span><span class="cx">     }
</span></span></pre></div>
<a id="branchessafari601132branchSourceJavaScriptCoredfgDFGSpeculativeJIT64cpp"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -4302,8 +4302,7 @@
</span><span class="cx">         DFG_CRASH(m_jit.graph(), node, &quot;Unexpected Unreachable node&quot;);
</span><span class="cx">         break;
</span><span class="cx"> 
</span><del>-    case StoreBarrier:
-    case StoreBarrierWithNullCheck: {
</del><ins>+    case StoreBarrier: {
</ins><span class="cx">         compileStoreBarrier(node);
</span><span class="cx">         break;
</span><span class="cx">     }
</span></span></pre></div>
<a id="branchessafari601132branchSourceJavaScriptCoreftlFTLCapabilitiescpp"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/ftl/FTLCapabilities.cpp (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/ftl/FTLCapabilities.cpp        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/ftl/FTLCapabilities.cpp        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -122,7 +122,6 @@
</span><span class="cx">     case GetTypedArrayByteOffset:
</span><span class="cx">     case NotifyWrite:
</span><span class="cx">     case StoreBarrier:
</span><del>-    case StoreBarrierWithNullCheck:
</del><span class="cx">     case Call:
</span><span class="cx">     case Construct:
</span><span class="cx">     case CallVarargs:
</span></span></pre></div>
<a id="branchessafari601132branchSourceJavaScriptCoreftlFTLLowerDFGToLLVMcpp"></a>
<div class="modfile"><h4>Modified: branches/safari-601.1.32-branch/Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp (184524 => 184525)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601.1.32-branch/Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp        2015-05-19 00:08:16 UTC (rev 184524)
+++ branches/safari-601.1.32-branch/Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp        2015-05-19 00:08:35 UTC (rev 184525)
</span><span class="lines">@@ -812,9 +812,6 @@
</span><span class="cx">         case StoreBarrier:
</span><span class="cx">             compileStoreBarrier();
</span><span class="cx">             break;
</span><del>-        case StoreBarrierWithNullCheck:
-            compileStoreBarrierWithNullCheck();
-            break;
</del><span class="cx">         case HasIndexedProperty:
</span><span class="cx">             compileHasIndexedProperty();
</span><span class="cx">             break;
</span><span class="lines">@@ -4854,22 +4851,6 @@
</span><span class="cx">         emitStoreBarrier(lowCell(m_node-&gt;child1()));
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    void compileStoreBarrierWithNullCheck()
-    {
-#if ENABLE(GGC)
-        LBasicBlock isNotNull = FTL_NEW_BLOCK(m_out, (&quot;Store barrier with null check value not null&quot;));
-        LBasicBlock continuation = FTL_NEW_BLOCK(m_out, (&quot;Store barrier continuation&quot;));
-
-        LValue base = lowJSValue(m_node-&gt;child1());
-        m_out.branch(m_out.isZero64(base), unsure(continuation), unsure(isNotNull));
-        LBasicBlock lastNext = m_out.appendTo(isNotNull, continuation);
-        emitStoreBarrier(base);
-        m_out.appendTo(continuation, lastNext);
-#else
-        speculate(m_node-&gt;child1());
-#endif
-    }
-    
</del><span class="cx">     void compileHasIndexedProperty()
</span><span class="cx">     {
</span><span class="cx">         switch (m_node-&gt;arrayMode().type()) {
</span></span></pre>
</div>
</div>

</body>
</html>