| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index f9e87bfaba6e92d393701edc1f4037e55c4f8937..7ffe0c0f0e018eacbfd838d0a1a39039a9e6773f 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;
|
| }
|
|
|