| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 2c89a148f1bdf5ec5136e644a9e0b1232801a3ed..810d6a4eec9c5f673c2cc418435764f30d246b7f 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -1077,6 +1077,13 @@ MaybeObject* Object::ToSmi() {
|
| }
|
|
|
|
|
| +MaybeHandle<JSReceiver> Object::ToObject(Isolate* isolate,
|
| + Handle<Object> object) {
|
| + return ToObject(
|
| + isolate, object, handle(isolate->context()->native_context(), isolate));
|
| +}
|
| +
|
| +
|
| bool Object::HasSpecificClassOf(String* name) {
|
| return this->IsJSObject() && (JSObject::cast(this)->class_name() == name);
|
| }
|
|
|