Bug 634118 - JM: fix incorrect m_size assignment on ARM. r=dvander.

This commit is contained in:
Nicholas Nethercote 2011-02-14 16:15:16 -08:00
Родитель 69396716a0
Коммит 8f23700918
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -168,13 +168,13 @@ class LinkerHelper : public JSC::LinkBuffer
if (!ep)
return ep;
m_size = masm.size();
m_code = executableCopy(masm, ep);
if (!m_code) {
ep->release();
js_ReportOutOfMemory(cx);
return NULL;
}
m_size = masm.size(); // must come after the call to executableCopy()
return ep;
}