| Index: src/isolate.cc | 
| diff --git a/src/isolate.cc b/src/isolate.cc | 
| index b6c90ba319cd51cd2a3136b728cdd45c504b494a..203eb42e29f6597ec66ad581050327f85e1d3c13 100644 | 
| --- a/src/isolate.cc | 
| +++ b/src/isolate.cc | 
| @@ -627,6 +627,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; | 
| } | 
|  |