Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 58256f06530e44d31ec013b71a0e257d8571c1fa..3e159d467856e0f9dbbee7b78a133e17974f10d1 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -967,19 +967,19 @@ |
// 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'); |
} |
} |