Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 09b731e44774408a75bb9b9bbeb36d1225d23a1b..91f2ecfd57e2f0f72f443f6b5e5bd3e2f7efb6af 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -917,7 +917,7 @@ void LogRegExpSource(Handle<JSRegExp> regexp, Isolate* isolate, |
// (re.global?"g":"") + (re.ignorecase?"i":"") + (re.multiline?"m":"") |
Handle<Object> source = |
- Object::GetProperty(isolate, regexp, "source").ToHandleChecked(); |
+ JSReceiver::GetProperty(isolate, regexp, "source").ToHandleChecked(); |
if (!source->IsString()) { |
msg->Append("no source"); |
return; |
@@ -936,19 +936,19 @@ void LogRegExpSource(Handle<JSRegExp> regexp, Isolate* isolate, |
// global flag |
Handle<Object> global = |
- Object::GetProperty(isolate, regexp, "global").ToHandleChecked(); |
+ JSReceiver::GetProperty(isolate, regexp, "global").ToHandleChecked(); |
if (global->IsTrue()) { |
msg->Append('g'); |
} |
// ignorecase flag |
Handle<Object> ignorecase = |
- Object::GetProperty(isolate, regexp, "ignoreCase").ToHandleChecked(); |
+ JSReceiver::GetProperty(isolate, regexp, "ignoreCase").ToHandleChecked(); |
if (ignorecase->IsTrue()) { |
msg->Append('i'); |
} |
// multiline flag |
Handle<Object> multiline = |
- Object::GetProperty(isolate, regexp, "multiline").ToHandleChecked(); |
+ JSReceiver::GetProperty(isolate, regexp, "multiline").ToHandleChecked(); |
if (multiline->IsTrue()) { |
msg->Append('m'); |
} |