зеркало из https://github.com/mozilla/gecko-dev.git
Bug 634118 - JM: fix incorrect m_size assignment on ARM. r=dvander.
This commit is contained in:
Родитель
69396716a0
Коммит
8f23700918
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче