Bug 1336216 - Fix JIT_SPEW_DIR on Win32. r=h4writer
authorTed Campbell <tcampbell@mozilla.com>
Thu, 02 Feb 2017 17:14:15 -0500
changeset 332316 b90b9d2dfb3078636b8bf1d40d1f124974c0eb0e
parent 332315 e1a2f0216e034c3114ce102cb45a212bc2161043
child 332317 9b4b7718e37d112743e532ae267acd0a7db216ea
push id31303
push usercbook@mozilla.com
push dateFri, 03 Feb 2017 12:23:51 +0000
treeherdermozilla-central@28bb04d0338d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersh4writer
bugs1336216
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 1336216 - Fix JIT_SPEW_DIR on Win32. r=h4writer MozReview-Commit-ID: IuxVFw6uBWh
js/src/jit/JitSpewer.cpp
--- a/js/src/jit/JitSpewer.cpp
+++ b/js/src/jit/JitSpewer.cpp
@@ -26,21 +26,21 @@
 
 #include "threading/LockGuard.h"
 
 #include "vm/HelperThreads.h"
 #include "vm/MutexIDs.h"
 
 #ifndef JIT_SPEW_DIR
 # if defined(_WIN32)
-#  define JIT_SPEW_DIR ""
+#  define JIT_SPEW_DIR "."
 # elif defined(__ANDROID__)
-#  define JIT_SPEW_DIR "/data/local/tmp/"
+#  define JIT_SPEW_DIR "/data/local/tmp"
 # else
-#  define JIT_SPEW_DIR "/tmp/"
+#  define JIT_SPEW_DIR "/tmp"
 # endif
 #endif
 
 using namespace js;
 using namespace js::jit;
 
 class IonSpewer
 {