Index: src/messages.cc |
diff --git a/src/messages.cc b/src/messages.cc |
index 306fcc503f4ff4d34e75823bc6ced8246e7fd89d..4eb79a93061ca5548071376fee1fd6aca9e7a0b1 100644 |
--- a/src/messages.cc |
+++ b/src/messages.cc |
@@ -304,7 +304,7 @@ Handle<String> MessageTemplate::FormatMessage(Isolate* isolate, |
.ToHandleChecked()); |
MaybeHandle<Object> maybe_result = |
- Execution::TryCall(fun, isolate->js_builtins_object(), 1, &arg); |
+ Execution::TryCall(fun, factory->undefined_value(), 1, &arg); |
Handle<Object> result; |
if (!maybe_result.ToHandle(&result) || !result->IsString()) { |
return factory->InternalizeOneByteString(STATIC_CHAR_VECTOR("<error>")); |