зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1363054 part 1 - Remove redundant addMonitorStubForValue calls. r=tcampbell
This commit is contained in:
Родитель
57a0c453bb
Коммит
4052fb6dc4
|
@ -2466,13 +2466,6 @@ DoCallFallback(JSContext* cx, BaselineFrame* frame, ICCall_Fallback* stub_, uint
|
|||
if (stub.invalid())
|
||||
return true;
|
||||
|
||||
// Attach a new TypeMonitor stub for this value.
|
||||
ICTypeMonitor_Fallback* typeMonFbStub = stub->fallbackMonitorStub();
|
||||
if (!typeMonFbStub->addMonitorStubForValue(cx, &info, res))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// Add a type monitor stub for the resulting value.
|
||||
if (!stub->addMonitorStubForValue(cx, &info, res))
|
||||
return false;
|
||||
|
@ -2527,13 +2520,6 @@ DoSpreadCallFallback(JSContext* cx, BaselineFrame* frame, ICCall_Fallback* stub_
|
|||
if (stub.invalid())
|
||||
return true;
|
||||
|
||||
// Attach a new TypeMonitor stub for this value.
|
||||
ICTypeMonitor_Fallback* typeMonFbStub = stub->fallbackMonitorStub();
|
||||
if (!typeMonFbStub->addMonitorStubForValue(cx, &info, res))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// Add a type monitor stub for the resulting value.
|
||||
if (!stub->addMonitorStubForValue(cx, &info, res))
|
||||
return false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче