Bug 860749 - Set an appropriate ION_SPEW_DIR for Android. r=mrosenberg
authorDouglas Crosher <dtc-moz@scieneer.com>
Fri, 12 Apr 2013 00:10:16 +1000
changeset 130464 87fafdf157700c7d1f077ef25de93454d89b8e61
parent 130463 e562e90b820f464f6137a8a7587449f424617121
child 130465 4ff1e574e509f010eba959897491518334689db7
push id27377
push userryanvm@gmail.com
push dateWed, 01 May 2013 12:48:32 +0000
treeherdermozilla-inbound@4ff1e574e509 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmrosenberg
bugs860749
milestone23.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 860749 - Set an appropriate ION_SPEW_DIR for Android. r=mrosenberg
js/src/ion/IonSpewer.cpp
--- a/js/src/ion/IonSpewer.cpp
+++ b/js/src/ion/IonSpewer.cpp
@@ -9,16 +9,18 @@
 #include "Ion.h"
 #include "IonSpewer.h"
 
 #include "jsscriptinlines.h"
 
 #ifndef ION_SPEW_DIR
 # if defined(_WIN32)
 #  define ION_SPEW_DIR ""
+# elif defined(__ANDROID__)
+#  define ION_SPEW_DIR "/data/local/tmp/"
 # else
 #  define ION_SPEW_DIR "/tmp/"
 # endif
 #endif
 
 using namespace js;
 using namespace js::ion;