зеркало из https://github.com/mozilla/gecko-dev.git
Bug 828595 - Pass a HandleId to js_GetPropertyHelperInline; r=terrence
This commit is contained in:
Родитель
79b1c54dcc
Коммит
5f0e113b83
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче