Bug 503424 - Additional followup to fix more profound build-breakage, r=me.

This commit is contained in:
Graydon Hoare 2009-09-15 17:07:33 -07:00
parent 27277aa0c1
commit e9caea3d48
3 changed files with 4 additions and 5 deletions

View File

@ -55,7 +55,6 @@
#include "jsprvtd.h" #include "jsprvtd.h"
#include "jspubtd.h" #include "jspubtd.h"
#include "jsregexp.h" #include "jsregexp.h"
#include "jsstdint.h"
#include "jsutil.h" #include "jsutil.h"
#include "jsarray.h" #include "jsarray.h"
#include "jstask.h" #include "jstask.h"
@ -109,7 +108,7 @@ namespace nanojit {
} }
#if defined(JS_JIT_SPEW) || defined(DEBUG) #if defined(JS_JIT_SPEW) || defined(DEBUG)
struct FragPI; struct FragPI;
typedef nanojit::HashMap<uint32_t, FragPI, nanojit::DefaultHash<uint32_t> > FragStatsMap; typedef nanojit::HashMap<uint32, FragPI, nanojit::DefaultHash<uint32> > FragStatsMap;
#endif #endif
class TraceRecorder; class TraceRecorder;
class VMAllocator; class VMAllocator;
@ -204,7 +203,7 @@ struct JSTraceMonitor {
#ifdef DEBUG #ifdef DEBUG
/* Fields needed for fragment/guard profiling. */ /* Fields needed for fragment/guard profiling. */
CLS(nanojit::Seq<nanojit::Fragment*>) branches; CLS(nanojit::Seq<nanojit::Fragment*>) branches;
uint32_t lastFragID; uint32 lastFragID;
/* /*
* profAlloc has a lifetime which spans exactly from js_InitJIT to * profAlloc has a lifetime which spans exactly from js_InitJIT to
* js_FinishJIT. * js_FinishJIT.

View File

@ -457,7 +457,7 @@ struct FragPI {
}; };
/* A mapping of Fragment.profFragID to FragPI */ /* A mapping of Fragment.profFragID to FragPI */
typedef HashMap<uint32_t,FragPI> FragStatsMap; typedef HashMap<uint32,FragPI> FragStatsMap;
void void
js_FragProfiling_FragFinalizer(Fragment* f, JSTraceMonitor* tm) js_FragProfiling_FragFinalizer(Fragment* f, JSTraceMonitor* tm)

View File

@ -763,7 +763,7 @@ namespace nanojit
_codeAlloc.addRemainder(codeList, exitStart, exitEnd, _nExitSlot, _nExitIns); _codeAlloc.addRemainder(codeList, exitStart, exitEnd, _nExitSlot, _nExitIns);
_codeAlloc.addRemainder(codeList, codeStart, codeEnd, _nSlot, _nIns); _codeAlloc.addRemainder(codeList, codeStart, codeEnd, _nSlot, _nIns);
verbose_only( exitBytes -= (_nExitIns - _nExitSlot) * sizeof(NIns); ) verbose_only( exitBytes -= (_nExitIns - _nExitSlot) * sizeof(NIns); )
verbose_only( codeBytes -= (_nIns - _nSlot) * sizeof(Nins); ) verbose_only( codeBytes -= (_nIns - _nSlot) * sizeof(NIns); )
#else #else
// [codeStart ... gap ... [_nIns, codeEnd)) // [codeStart ... gap ... [_nIns, codeEnd))
_codeAlloc.addRemainder(codeList, exitStart, exitEnd, exitStart, _nExitIns); _codeAlloc.addRemainder(codeList, exitStart, exitEnd, exitStart, _nExitIns);