Bug 877287. r=h4writer
authorKannan Vijayan <kvijayan@mozilla.com>
Wed, 05 Jun 2013 16:42:23 -0400
changeset 134143 7df36088f6451bd4f8db0dfa589894abca8e1f78
parent 134142 72fbfb2f8e51a69e59fb11da6e1a98ea02a8073f
child 134144 01458e7eb7071780e726d8ed65994fbffd7c37ff
push id29068
push userkvijayan@mozilla.com
push dateWed, 05 Jun 2013 20:43:08 +0000
treeherdermozilla-inbound@7df36088f645 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersh4writer
bugs877287
milestone24.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 877287. r=h4writer
js/src/ion/IonBuilder.cpp
--- a/js/src/ion/IonBuilder.cpp
+++ b/js/src/ion/IonBuilder.cpp
@@ -5256,16 +5256,18 @@ IonBuilder::jsop_initelem_array()
 static bool
 CanEffectlesslyCallLookupGenericOnObject(JSObject *obj)
 {
     while (obj) {
         if (!obj->isNative())
             return false;
         if (obj->getClass()->ops.lookupProperty)
             return false;
+        if (obj->getClass()->resolve != JS_ResolveStub)
+            return false;
         obj = obj->getProto();
     }
     return true;
 }
 
 bool
 IonBuilder::jsop_initprop(HandlePropertyName name)
 {