| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 322c90fc5aca08f71487a68c9d2349c6a307b8d8..bd5fdd81dc5274c98e4ad6795957f5c06f1c1d0b 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -2032,6 +2032,19 @@ Local<Value> v8::Object::GetPrototype() {
|
| }
|
|
|
|
|
| +bool v8::Object::SetPrototype(Handle<Value> value) {
|
| + ON_BAILOUT("v8::Object::SetPrototype()", return false);
|
| + ENTER_V8;
|
| + i::Handle<i::JSObject> self = Utils::OpenHandle(this);
|
| + i::Handle<i::Object> value_obj = Utils::OpenHandle(*value);
|
| + EXCEPTION_PREAMBLE();
|
| + i::Handle<i::Object> result = i::SetPrototype(self, value_obj);
|
| + has_pending_exception = result.is_null();
|
| + EXCEPTION_BAILOUT_CHECK(false);
|
| + return true;
|
| +}
|
| +
|
| +
|
| Local<Object> v8::Object::FindInstanceInPrototypeChain(
|
| v8::Handle<FunctionTemplate> tmpl) {
|
| ON_BAILOUT("v8::Object::FindInstanceInPrototypeChain()",
|
|
|