summaryrefslogtreecommitdiffstats
path: root/js/src/jsobj.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-03-12 11:18:06 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-03-12 11:18:06 +0100
commitba74a4174d2cd6ccbabbc5aa6f4ffdf74b48f45c (patch)
tree42296be483ab2f1f3042f5aca8ce91c2aa669ec3 /js/src/jsobj.cpp
parenteda34d02aa8159def0d811846e9417c37cea15cd (diff)
parent519775b8d9d823b8cee786bc668e050110a8aa67 (diff)
downloadUXP-ba74a4174d2cd6ccbabbc5aa6f4ffdf74b48f45c.tar
UXP-ba74a4174d2cd6ccbabbc5aa6f4ffdf74b48f45c.tar.gz
UXP-ba74a4174d2cd6ccbabbc5aa6f4ffdf74b48f45c.tar.lz
UXP-ba74a4174d2cd6ccbabbc5aa6f4ffdf74b48f45c.tar.xz
UXP-ba74a4174d2cd6ccbabbc5aa6f4ffdf74b48f45c.zip
Merge branch 'ported-moebius'
Diffstat (limited to 'js/src/jsobj.cpp')
-rw-r--r--js/src/jsobj.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/js/src/jsobj.cpp b/js/src/jsobj.cpp
index a39a4b0a0..33feb0a54 100644
--- a/js/src/jsobj.cpp
+++ b/js/src/jsobj.cpp
@@ -3298,18 +3298,6 @@ GetObjectSlotNameFunctor::operator()(JS::CallbackTracer* trc, char* buf, size_t
}
}
-bool
-js::ReportGetterOnlyAssignment(JSContext* cx, bool strict)
-{
- return JS_ReportErrorFlagsAndNumberASCII(cx,
- strict
- ? JSREPORT_ERROR
- : JSREPORT_WARNING | JSREPORT_STRICT,
- GetErrorMessage, nullptr,
- JSMSG_GETTER_ONLY);
-}
-
-
/*** Debugging routines **************************************************************************/
#ifdef DEBUG