Last Comment Bug 687885 - Don't use resetUseCount() outside of ifdef JS_METHODJIT
: Don't use resetUseCount() outside of ifdef JS_METHODJIT
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: Sun OpenBSD
-- normal (vote)
: mozilla9
Assigned To: general
: Jason Orendorff [:jorendorff]
Depends on:
  Show dependency treegraph
Reported: 2011-09-20 09:38 PDT by Landry Breuil (:gaston)
Modified: 2011-09-22 18:20 PDT (History)
3 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Proposed fix (981 bytes, patch)
2011-09-20 09:40 PDT, Landry Breuil (:gaston)
bhackett1024: review+
Details | Diff | Splinter Review

Description User image Landry Breuil (:gaston) 2011-09-20 09:38:03 PDT
Followup to that commit :

Build now fails on sparc64 (where JS_METHODJIT is undef) with :
js/src/jsinfer.cpp:6041: error: 'struct JSScript' has no member named 'resetUseCount'


Imo the call should be included within JS_METHODJIT as the releaseScriptCode call upper.
Comment 1 User image Landry Breuil (:gaston) 2011-09-20 09:40:34 PDT
Created attachment 561218 [details] [diff] [review]
Proposed fix

Trying that patch here, results in and apparently it fixes the build issue.
Comment 2 User image Brian Hackett (:bhackett) 2011-09-20 10:25:18 PDT
Comment 3 User image Marco Bonardo [::mak] 2011-09-21 02:54:21 PDT
Comment 4 User image Ed Morley [:emorley] 2011-09-22 18:19:58 PDT
Is possibly the cause of the macosx-debug_spidermonkey-shark builds going orange: (NB you need to use TBPL &usetinderbox=1 so the logs show up, due to bug 685299)

The last JS touching changing before this ( was green.

Note You need to log in before you can comment on or make changes to this bug.