Bug 590519 - Compile failure on ARM - "'rdtsc' was not declared in this scope" (r=arm-bustage)

This commit is contained in:
Gregor Wagner 2010-08-25 12:07:37 -07:00
parent 05bb449ddd
commit 92079ec405
2 changed files with 1 additions and 9 deletions

View File

@ -299,7 +299,7 @@ void
GCTimer::finish(bool lastGC) {
end = rdtsc();
if (startMark > 0 && JS_WANT_GC_TIMER_PRINT) {
if (startMark > 0) {
if (JS_WANT_GC_SUITE_PRINT) {
fprintf(stderr, "%f %f %f\n",
(double)(end - enter) / 1e6,

View File

@ -51,14 +51,6 @@ const bool JS_WANT_GC_METER_PRINT = true;
const bool JS_WANT_GC_METER_PRINT = false;
#endif
/* MOZ_GCTIMER is a compile flag. --enable-gctimer */
#if defined MOZ_GCTIMER
const bool JS_WANT_GC_TIMER_PRINT = true;
#elif defined DEBUG
# define MOZ_GCTIMER 1
const bool JS_WANT_GC_TIMER_PRINT = false;
#endif
#define METER_UPDATE_MAX(maxLval, rval) \
METER_IF((maxLval) < (rval), (maxLval) = (rval))