| Index: src/log.cc
|
| diff --git a/src/log.cc b/src/log.cc
|
| index b81ba0867dfac75b30f2513017dd17a9b85fe2a9..9793db69dd6ee090c4e5a3b46ebc22d3d3718508 100644
|
| --- a/src/log.cc
|
| +++ b/src/log.cc
|
| @@ -968,19 +968,19 @@ void LogRegExpSource(Handle<JSRegExp> regexp, Isolate* isolate,
|
| // global flag
|
| Handle<Object> global =
|
| JSReceiver::GetProperty(isolate, regexp, "global").ToHandleChecked();
|
| - if (global->IsTrue()) {
|
| + if (global->IsTrue(isolate)) {
|
| msg->Append('g');
|
| }
|
| // ignorecase flag
|
| Handle<Object> ignorecase =
|
| JSReceiver::GetProperty(isolate, regexp, "ignoreCase").ToHandleChecked();
|
| - if (ignorecase->IsTrue()) {
|
| + if (ignorecase->IsTrue(isolate)) {
|
| msg->Append('i');
|
| }
|
| // multiline flag
|
| Handle<Object> multiline =
|
| JSReceiver::GetProperty(isolate, regexp, "multiline").ToHandleChecked();
|
| - if (multiline->IsTrue()) {
|
| + if (multiline->IsTrue(isolate)) {
|
| msg->Append('m');
|
| }
|
| }
|
|
|