Bug 828595 - Pass a HandleId to js_GetPropertyHelperInline; r=terrence

This commit is contained in:
Ms2ger 2013-01-11 09:43:00 +01:00
Родитель 79b1c54dcc
Коммит 5f0e113b83
1 изменённых файлов: 1 добавлений и 3 удалений

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

@ -3322,11 +3322,9 @@ js_NativeSet(JSContext *cx, Handle<JSObject*> obj, Handle<JSObject*> receiver,
}
static JS_ALWAYS_INLINE JSBool
js_GetPropertyHelperInline(JSContext *cx, HandleObject obj, HandleObject receiver, jsid id_,
js_GetPropertyHelperInline(JSContext *cx, HandleObject obj, HandleObject receiver, HandleId id,
uint32_t getHow, MutableHandleValue vp)
{
RootedId id(cx, id_);
/* This call site is hot -- use the always-inlined variant of LookupPropertyWithFlags(). */
RootedObject obj2(cx);
RootedShape shape(cx);