Bug 1500267 - Record op in SetPropIRGenerator CacheIR logs r=evilpie
authorMatthew Gaudet <mgaudet@mozilla.com>
Fri, 19 Oct 2018 15:10:55 +0000
changeset 490526 cf105c387f2dc5053f26f0cb4429b97982d6fb65
parent 490525 ca071890a9a0d926df0c6c8840b9e9caefeaad83
child 490527 55bd63e9f1142c61581900052713d5495012405a
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewersevilpie
bugs1500267
milestone64.0a1
Bug 1500267 - Record op in SetPropIRGenerator CacheIR logs r=evilpie Depends on D9167 Differential Revision: https://phabricator.services.mozilla.com/D9168
js/src/jit/CacheIR.cpp
--- a/js/src/jit/CacheIR.cpp
+++ b/js/src/jit/CacheIR.cpp
@@ -3704,16 +3704,17 @@ SetPropIRGenerator::tryAttachTypedObject
     return true;
 }
 
 void
 SetPropIRGenerator::trackAttached(const char* name)
 {
 #ifdef JS_CACHEIR_SPEW
     if (const CacheIRSpewer::Guard& sp = CacheIRSpewer::Guard(*this, name)) {
+        sp.opcodeProperty("op", JSOp(*pc_));
         sp.valueProperty("base", lhsVal_);
         sp.valueProperty("property", idVal_);
         sp.valueProperty("value", rhsVal_);
     }
 #endif
 }
 
 static bool