Bug 470143 - Part 2/2 - TrackedOptimization changes for TypeOfNoSuchVar. r=shu

This commit is contained in:
Sean Stangl 2015-12-15 13:42:56 -08:00
Родитель 8e11be5623
Коммит f69acc592f
3 изменённых файлов: 7 добавлений и 2 удалений

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

@ -144,6 +144,7 @@ namespace JS {
\ \
_(ICNameStub_ReadSlot) \ _(ICNameStub_ReadSlot) \
_(ICNameStub_CallGetter) \ _(ICNameStub_CallGetter) \
_(ICNameStub_TypeOfNoProperty) \
\ \
_(CantInlineGeneric) \ _(CantInlineGeneric) \
_(CantInlineNoTarget) \ _(CantInlineNoTarget) \

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

@ -407,6 +407,11 @@ a scope chain object.
An inline cache element which loads a bare variable name by calling a An inline cache element which loads a bare variable name by calling a
getter function on the global object. getter function on the global object.
### ICNameStub_TypeOfNoProperty
An inline cache element which loads undefined for the type
of a missing property.
## Call Inlining Outcomes ## Call Inlining Outcomes
Optimization outcomes of attempts to inline function calls. Optimization outcomes of attempts to inline function calls.

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

@ -4952,9 +4952,8 @@ NameIC::attachTypeOfNoProperty(JSContext* cx, HandleScript outerScript, IonScrip
masm.bind(&failures); masm.bind(&failures);
attacher.jumpNextStub(masm); attacher.jumpNextStub(masm);
// TODO: ICNameStub_TypeOfNoProperty
return linkAndAttachStub(cx, masm, attacher, ion, "generic", return linkAndAttachStub(cx, masm, attacher, ion, "generic",
JS::TrackedOutcome::ICNameStub_ReadSlot); JS::TrackedOutcome::ICNameStub_TypeOfNoProperty);
} }
static bool static bool