Bug 1019414 - IonMonkey: The exitCodePatch offset needs to be converted to its final offset after assembly. r=jandem

This commit is contained in:
Douglas Crosher 2014-06-03 16:39:31 +10:00
Родитель ebef083295
Коммит 455c57653b
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -905,6 +905,7 @@ class MacroAssembler : public MacroAssemblerSpecific
// the JitCode onto the stack in order to GC it correctly. exitCodePatch should
// be unset if the code never needed to push its JitCode*.
if (hasEnteredExitFrame()) {
exitCodePatch_.fixup(this);
patchDataWithValueCheck(CodeLocationLabel(code, exitCodePatch_),
ImmPtr(code),
ImmPtr((void*)-1));