[INFER] x64 fixes, bug 656920.

This commit is contained in:
Brian Hackett 2011-05-18 09:06:56 -07:00
parent 61c6f0cd96
commit e10c9c51e3
3 changed files with 4 additions and 5 deletions

View File

@ -4191,7 +4191,7 @@ ScriptAnalysis::printTypes(JSContext *cx)
if (js_CodeSpec[script->code[offset]].format & JOF_TYPESET) {
TypeSet *types = script->bytecodeTypes(script->code + offset);
printf(" typeset %u:", types - script->typeArray);
printf(" typeset %d:", (int) (types - script->typeArray));
types->print(cx);
printf("\n");
}

View File

@ -90,8 +90,7 @@ js::JMCheckLogging()
" regalloc Register allocation behavior\n"
" inlin Call inlining behavior\n"
" recompile Dynamic recompilations\n"
" full everything\n"
" notrace disable trace hints\n"
" full everything not affecting codegen\n"
"\n"
);
exit(0);
@ -126,7 +125,7 @@ js::JMCheckLogging()
if (strstr(env, "inlin"))
LoggingBits |= (1 << uint32(JSpew_Inlining));
if (strstr(env, "full"))
LoggingBits |= 0xFFFFFFFF;
LoggingBits |= 0xFFFFFFFF ^ (1 << JSpew_PCProf);
}
bool

View File

@ -2748,7 +2748,7 @@ stubs::TypeBarrierHelper(VMFrame &f, uint32 which)
JS_ASSERT(which == 0 || which == 1);
/* The actual pushed value is at sp[0], fix up the stack. See finishBarrier. */
Value &result = f.regs.sp[-1 - which];
Value &result = f.regs.sp[-1 - (int)which];
result = f.regs.sp[0];
/*