зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1363054 part 1 - Remove redundant addMonitorStubForValue calls. r=tcampbell
This commit is contained in:
Родитель
8aa957ea26
Коммит
59938d22e8
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче