| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 401007b4359b6c86c4184dd9183c561adb37a58f..fa2f37206715b98e227c1f19de1f7cfa671072be 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -977,6 +977,12 @@ void Template::SetAccessorProperty(
|
| }
|
|
|
|
|
| +Isolate* Template::GetIsolate() {
|
| + i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate();
|
| + return reinterpret_cast<Isolate*>(isolate);
|
| +}
|
| +
|
| +
|
| // --- F u n c t i o n T e m p l a t e ---
|
| static void InitializeFunctionTemplate(
|
| i::Handle<i::FunctionTemplateInfo> info) {
|
|
|