Bug 1162986 - Relax type requirements for using baseline cache information when compiling GETPROP, r=jandem.
authorBrian Hackett <bhackett1024@gmail.com>
Wed, 13 May 2015 07:38:01 -0600
changeset 243727 2844e59c33e0df3bb29bc641c9f5e2c20cd7c1d1
parent 243726 f0fdc3d257f513480357bb0be212aa89f238ef16
child 243728 a5aa69de838b963f07b743379f18598a0d983999
push id28753
push userkwierso@gmail.com
push dateThu, 14 May 2015 22:33:43 +0000
treeherdermozilla-central@07e2e15703cb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1162986
milestone41.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 1162986 - Relax type requirements for using baseline cache information when compiling GETPROP, r=jandem.
js/src/jit/IonBuilder.cpp
--- a/js/src/jit/IonBuilder.cpp
+++ b/js/src/jit/IonBuilder.cpp
@@ -10863,21 +10863,16 @@ PropertyShapesHaveSameSlot(const Baselin
 }
 
 bool
 IonBuilder::getPropTryInlineAccess(bool* emitted, MDefinition* obj, PropertyName* name,
                                    BarrierKind barrier, TemporaryTypeSet* types)
 {
     MOZ_ASSERT(*emitted == false);
 
-    if (obj->type() != MIRType_Object) {
-        trackOptimizationOutcome(TrackedOutcome::NotObject);
-        return true;
-    }
-
     BaselineInspector::ReceiverVector receivers(alloc());
     BaselineInspector::ObjectGroupVector convertUnboxedGroups(alloc());
     if (!inspector->maybeInfoForPropertyOp(pc, receivers, convertUnboxedGroups))
         return false;
 
     if (!canInlinePropertyOpShapes(receivers))
         return true;