Bug 994181: Tracelogger: convert integer to platform-specific pointer before writing it as a pointer; r=h4writer

This commit is contained in:
Benjamin Bouvier 2014-04-14 15:41:00 +02:00
Родитель 5dfd116305
Коммит 6cb51ba4ce
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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