Skip to content
This repository was archived by the owner on Oct 16, 2021. It is now read-only.

Commit dbe142c

Browse files
committed
v8: fix GetLocalizedMessage usage
As is the backport of the abort on uncaught exception wouldn't compile because we it was passing in `this` when it was unnecessary.
1 parent 279361b commit dbe142c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/v8/src/isolate.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ void Isolate::DoThrow(Object* exception, MessageLocation* location) {
11611161
(report_exception || can_be_caught_externally)) {
11621162
fatal_exception_depth++;
11631163
fprintf(stderr, "%s\n\nFROM\n",
1164-
*MessageHandler::GetLocalizedMessage(this, message_obj));
1164+
*MessageHandler::GetLocalizedMessage(message_obj));
11651165
PrintCurrentStackTrace(stderr);
11661166
OS::Abort();
11671167
}

0 commit comments

Comments
 (0)