Bug 1341261: [Part 8] Dump opcodes for CompareIC to CacheIR logs r=tcampbell
authorMatthew Gaudet <mgaudet@mozilla.com>
Fri, 15 Jun 2018 17:15:24 -0700
changeset 486356 b712adf814a364bb2b816aa0fc182f4ee67411cf
parent 486355 c65164fbc41ca83aad3476987c9991c5ca81fc8d
child 486357 2f962180068b5d353f3cb1d1b084382535067cd1
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstcampbell
bugs1341261
milestone63.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 1341261: [Part 8] Dump opcodes for CompareIC to CacheIR logs r=tcampbell
js/src/jit/CacheIR.cpp
--- a/js/src/jit/CacheIR.cpp
+++ b/js/src/jit/CacheIR.cpp
@@ -4985,16 +4985,17 @@ CompareIRGenerator::tryAttachStub()
 
 void
 CompareIRGenerator::trackAttached(const char* name)
 {
 #ifdef JS_CACHEIR_SPEW
     if (const CacheIRSpewer::Guard& sp = CacheIRSpewer::Guard(*this, name)) {
         sp.valueProperty("lhs", lhsVal_);
         sp.valueProperty("rhs", rhsVal_);
+        sp.opcodeProperty("op", op_);
     }
 #endif
 }
 
 ToBoolIRGenerator::ToBoolIRGenerator(JSContext* cx, HandleScript script, jsbytecode* pc, ICState::Mode mode,
                                      HandleValue val)
   : IRGenerator(cx, script, pc, CacheKind::ToBool, mode),
     val_(val)