Bug 1060419 - remove unused members from SprintfState, r=froydnj
authorTom Tromey <tom@tromey.com>
Thu, 12 Jan 2017 15:26:31 -0700
changeset 343526 a69d8969642d40db1312c0b4b9bde8a5d6422556
parent 343525 e5f4fa3617fdbc1dccf66b681b1e8c6cac8757b7
child 343527 4182949e0fbce045a1c877475da09e1c2cc18bec
push id31381
push userkwierso@gmail.com
push dateFri, 17 Feb 2017 20:45:51 +0000
treeherdermozilla-central@f302def88fe5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1060419
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 1060419 - remove unused members from SprintfState, r=froydnj MozReview-Commit-ID: 3VLX7POTzdT
js/src/jsprf.cpp
--- a/js/src/jsprf.cpp
+++ b/js/src/jsprf.cpp
@@ -41,19 +41,16 @@ using namespace js;
 
 struct SprintfState
 {
     bool (*stuff)(SprintfState* ss, const char* sp, size_t len);
 
     char* base;
     char* cur;
     size_t maxlen;
-
-    int (*func)(void* arg, const char* sp, uint32_t len);
-    void* arg;
 };
 
 /*
  * Numbered Argument State
  */
 struct NumArgState
 {
     int type;       // type of the current ap