No bug - Remove unused JS::Value::setObjectOrUndefined; r=luke

This commit is contained in:
Ms2ger 2011-12-18 11:06:43 +01:00
parent aa784e7937
commit 0240b7ebde

View File

@ -350,14 +350,6 @@ class Value
setNull();
}
JS_ALWAYS_INLINE
void setObjectOrUndefined(JSObject *arg) {
if (arg)
setObject(*arg);
else
setUndefined();
}
JS_ALWAYS_INLINE
void swap(Value &rhs) {
uint64_t tmp = rhs.data.asBits;