Bug 941424 - Build more of the JS engine in unified mode; r=djvj
X-Git-Commit-ID: a36a6a48f6712fdb86bbe1005cf7afcf26bc0200
This commit is contained in:
@@ -344,7 +344,7 @@ GetCustomIterator(JSContext *cx, HandleObject obj, unsigned flags, MutableHandle
|
||||
return false;
|
||||
RootedValue val(cx, ObjectValue(*obj));
|
||||
js_ReportValueError2(cx, JSMSG_BAD_TRAP_RETURN_VALUE,
|
||||
-1, val, NullPtr(), bytes.ptr());
|
||||
-1, val, js::NullPtr(), bytes.ptr());
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
@@ -1702,7 +1702,7 @@ star_generator_next(JSContext *cx, CallArgs args)
|
||||
if (gen->state == JSGEN_NEWBORN && args.hasDefined(0)) {
|
||||
RootedValue val(cx, args[0]);
|
||||
js_ReportValueError(cx, JSMSG_BAD_GENERATOR_SEND,
|
||||
JSDVG_SEARCH_STACK, val, NullPtr());
|
||||
JSDVG_SEARCH_STACK, val, js::NullPtr());
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1737,7 +1737,7 @@ legacy_generator_next(JSContext *cx, CallArgs args)
|
||||
if (gen->state == JSGEN_NEWBORN && args.hasDefined(0)) {
|
||||
RootedValue val(cx, args[0]);
|
||||
js_ReportValueError(cx, JSMSG_BAD_GENERATOR_SEND,
|
||||
JSDVG_SEARCH_STACK, val, NullPtr());
|
||||
JSDVG_SEARCH_STACK, val, js::NullPtr());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user