| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index f0c105cffc9817c8e302b9b06f92b771eec3246d..c774c9491757cfe0601021e51d0e7d62001bfee9 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -2946,6 +2946,14 @@ void v8::Function::CheckCast(Value* that) {
|
| }
|
|
|
|
|
| +void v8::Boolean::CheckCast(v8::Value* that) {
|
| + i::Handle<i::Object> obj = Utils::OpenHandle(that);
|
| + Utils::ApiCheck(obj->IsBoolean(),
|
| + "v8::Boolean::Cast()",
|
| + "Could not convert to boolean");
|
| +}
|
| +
|
| +
|
| void v8::Name::CheckCast(v8::Value* that) {
|
| i::Handle<i::Object> obj = Utils::OpenHandle(that);
|
| Utils::ApiCheck(obj->IsName(),
|
|
|