зеркало из https://github.com/mozilla/pjs.git
bug 580128 - Make compartment warnings real. r=jst
This commit is contained in:
Родитель
56e262cc3d
Коммит
528d99c21c
|
@ -508,10 +508,8 @@ class CompartmentChecker
|
|||
* compartment mismatches.
|
||||
*/
|
||||
static void fail(JSCompartment *c1, JSCompartment *c2) {
|
||||
#ifdef DEBUG_jorendorff
|
||||
printf("*** Compartment mismatch %p vs. %p\n", (void *) c1, (void *) c2);
|
||||
// JS_NOT_REACHED("compartment mismatch");
|
||||
#endif
|
||||
JS_NOT_REACHED("compartment mismatched");
|
||||
}
|
||||
|
||||
void check(JSCompartment *c) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче