| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 598085431248735d8617aa7db8e4ae21f9b79ff7..31aa1e00e8307a2f076c9862401589e36d9b36f2 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -925,6 +925,7 @@ Local<TypeSwitch> TypeSwitch::New(int argc, Handle<FunctionTemplate> types[]) {
|
| int TypeSwitch::match(v8::Handle<Value> value) {
|
| i::Isolate* isolate = i::Isolate::Current();
|
| LOG_API(isolate, "TypeSwitch::match");
|
| + USE(isolate);
|
| i::Handle<i::Object> obj = Utils::OpenHandle(*value);
|
| i::Handle<i::TypeSwitchInfo> info = Utils::OpenHandle(this);
|
| i::FixedArray* types = i::FixedArray::cast(info->types());
|
| @@ -3392,6 +3393,7 @@ Local<v8::Value> Function::Call(v8::Handle<v8::Object> recv, int argc,
|
| void Function::SetName(v8::Handle<v8::String> name) {
|
| i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate();
|
| ENTER_V8(isolate);
|
| + USE(isolate);
|
| i::Handle<i::JSFunction> func = Utils::OpenHandle(this);
|
| func->shared()->set_name(*Utils::OpenHandle(*name));
|
| }
|
|
|