mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[INFER] x64 fixes, bug 656920.
This commit is contained in:
parent
61c6f0cd96
commit
e10c9c51e3
@ -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");
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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];
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user