Index: src/runtime/runtime-i18n.cc |
diff --git a/src/runtime/runtime-i18n.cc b/src/runtime/runtime-i18n.cc |
index 68bdd654453824f03cd5c22f33fd22074608933c..d4c6034166e3fd471a5e064bf49fe1b8550b095f 100644 |
--- a/src/runtime/runtime-i18n.cc |
+++ b/src/runtime/runtime-i18n.cc |
@@ -259,7 +259,7 @@ RUNTIME_FUNCTION(Runtime_IsInitializedIntlObject) { |
Handle<Symbol> marker = isolate->factory()->intl_initialized_marker_symbol(); |
Handle<Object> tag = JSReceiver::GetDataProperty(obj, marker); |
- return isolate->heap()->ToBoolean(!tag->IsUndefined()); |
+ return isolate->heap()->ToBoolean(!tag->IsUndefined(isolate)); |
} |
@@ -317,7 +317,7 @@ RUNTIME_FUNCTION(Runtime_GetImplFromInitializedIntlObject) { |
Handle<Symbol> marker = isolate->factory()->intl_impl_object_symbol(); |
Handle<Object> impl = JSReceiver::GetDataProperty(obj, marker); |
- if (impl->IsTheHole()) { |
+ if (impl->IsTheHole(isolate)) { |
THROW_NEW_ERROR_RETURN_FAILURE( |
isolate, NewTypeError(MessageTemplate::kNotIntlObject, obj)); |
} |