| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 2ca7a0d755d9d40935dabdcc97d12ed1f17b9c41..e0905be87b3f5c9b4c68afd99fc6b3452943fdc6 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -628,6 +628,11 @@ class CaptureStackTraceHelper {
|
| isolate_->factory()->NewNumberFromInt(position),
|
| NONE);
|
| }
|
| + if (!script_id_key_.is_null()) {
|
| + int script_id = frame->script()->id();
|
| + JSObject::AddProperty(stack_frame, script_id_key_,
|
| + handle(Smi::FromInt(script_id), isolate_), NONE);
|
| + }
|
|
|
| return stack_frame;
|
| }
|
|
|