Bug 1344463 followup - Fix comment copy/paste issue. r=me
authorJan de Mooij <jdemooij@mozilla.com>
Sat, 04 Mar 2017 15:36:59 +0100
changeset 395000 ba5e3b0a356e7bf1e5e4c73c2e35b0299eb90752
parent 394999 63d05802b98a6d251937b9965294a290c63ea7f5
child 395001 63f4a611e340e27e2000321ac39a89a871e4d1c0
push id1468
push userasasaki@mozilla.com
push dateMon, 05 Jun 2017 19:31:07 +0000
treeherdermozilla-release@0641fc6ee9d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1344463
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1344463 followup - Fix comment copy/paste issue. r=me
js/src/jit/CacheIR.cpp
--- a/js/src/jit/CacheIR.cpp
+++ b/js/src/jit/CacheIR.cpp
@@ -2721,17 +2721,17 @@ SetPropIRGenerator::tryAttachDOMProxyUns
     trackAttached("DOMProxyUnshadowed");
     return true;
 }
 
 bool
 SetPropIRGenerator::tryAttachProxy(HandleObject obj, ObjOperandId objId, HandleId id,
                                    ValOperandId rhsId)
 {
-    // Don't attach a setter stub for ops like JSOP_INITELEM.
+    // Don't attach a proxy stub for ops like JSOP_INITELEM.
     MOZ_ASSERT(IsPropertySetOp(JSOp(*pc_)));
 
     switch (GetProxyStubType(cx_, obj, id)) {
       case ProxyStubType::None:
         return false;
       case ProxyStubType::DOMExpando:
       case ProxyStubType::DOMShadowed:
         return tryAttachDOMProxyShadowed(obj, objId, id, rhsId);
@@ -2744,17 +2744,17 @@ SetPropIRGenerator::tryAttachProxy(Handl
     }
 
     MOZ_CRASH("Unexpected ProxyStubType");
 }
 
 bool
 SetPropIRGenerator::tryAttachProxyElement(HandleObject obj, ObjOperandId objId, ValOperandId rhsId)
 {
-    // Don't attach a setter stub for ops like JSOP_INITELEM.
+    // Don't attach a proxy stub for ops like JSOP_INITELEM.
     MOZ_ASSERT(IsPropertySetOp(JSOp(*pc_)));
 
     if (!obj->is<ProxyObject>())
         return false;
 
     writer.guardIsProxy(objId);
 
     // Like GetPropIRGenerator::tryAttachProxyElement, don't check for DOM