| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 0e7b6d55d1521965efb3c4b7a04974e66c19d3cd..e2dedef5e3b122b4a8756d9180dffba10ab0fd6f 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -1369,7 +1369,8 @@ void Isolate::DoThrow(Object* exception, MessageLocation* location) {
|
| // exception object to be set later must not be turned into a string.
|
| if (exception_arg->IsJSObject() && !IsErrorObject(exception_arg)) {
|
| bool failed = false;
|
| - exception_arg = Execution::ToDetailString(exception_arg, &failed);
|
| + exception_arg =
|
| + Execution::ToDetailString(this, exception_arg, &failed);
|
| if (failed) {
|
| exception_arg = factory()->InternalizeOneByteString(
|
| STATIC_ASCII_VECTOR("exception"));
|
|
|