зеркало из https://github.com/mozilla/gecko-dev.git
Bug 994181: Tracelogger: convert integer to platform-specific pointer before writing it as a pointer; r=h4writer
This commit is contained in:
Родитель
5dfd116305
Коммит
6cb51ba4ce
|
@ -6500,7 +6500,7 @@ CodeGenerator::link(JSContext *cx, types::CompilerConstraintList *constraints)
|
||||||
for (uint32_t i = 0; i < patchableTLScripts_.length(); i++) {
|
for (uint32_t i = 0; i < patchableTLScripts_.length(); i++) {
|
||||||
patchableTLScripts_[i].fixup(&masm);
|
patchableTLScripts_[i].fixup(&masm);
|
||||||
Assembler::patchDataWithValueCheck(CodeLocationLabel(code, patchableTLScripts_[i]),
|
Assembler::patchDataWithValueCheck(CodeLocationLabel(code, patchableTLScripts_[i]),
|
||||||
ImmPtr((void *)scriptId),
|
ImmPtr((void *) uintptr_t(scriptId)),
|
||||||
ImmPtr((void *)0));
|
ImmPtr((void *)0));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче