| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index e498b438b09f028e0104863bd829980d6b952423..c2c7dcb0cafecbd66d8d0e17426344e2f0ab27a0 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -4150,6 +4150,12 @@ int Function::GetScriptColumnNumber() const {
|
| }
|
|
|
|
|
| +bool Function::IsBuiltin() const {
|
| + i::Handle<i::JSFunction> func = Utils::OpenHandle(this);
|
| + return func->IsBuiltin();
|
| +}
|
| +
|
| +
|
| Handle<Value> Function::GetScriptId() const {
|
| i::Handle<i::JSFunction> func = Utils::OpenHandle(this);
|
| i::Isolate* isolate = func->GetIsolate();
|
|
|