- Avoid unnecessary FASTCALL builtin wrappers for existing js_* library-private or friend functions, which could be (and now are) fastcall (JS_FASTCALL). A couple of builtins avoid name collisions by using js_Fast instead of just js_ as their name prefix.
- Use GCF_DONT_BLOCK from fastcall builtins that call into the GC allocator (mostly; a few places need help still, or better: need to avoid allocation). - Cope with C clients of jscntxt.h and its include files (these hacks should go away). - Naming convention and function definition line-break style nit-picks.
This commit is contained in:
@@ -434,7 +434,7 @@ js_ValueToIterator(JSContext *cx, uintN flags, jsval *vp)
|
||||
goto out;
|
||||
}
|
||||
|
||||
JS_FRIEND_API(JSBool)
|
||||
JS_FRIEND_API(bool) JS_FASTCALL
|
||||
js_CloseIterator(JSContext *cx, jsval v)
|
||||
{
|
||||
JSObject *obj;
|
||||
|
||||
Reference in New Issue
Block a user