Commit 7efb5537 authored by jgruber's avatar jgruber Committed by Commit Bot

Fix test-serialize/BuiltinsHaveBuiltinIdForLazyDeserialization

intl_date_time_format_function is only set in i18n builds. Use
opaque_reference_function to test for Builtins::kIllegal instead.

TBR=yangguo@chromium.org
NOTREECHECKS=true
NOTRY=true

Bug: v8:6624
Change-Id: I0631862e6e022d222b52dceb58a8fe65f7d6a4e8
Reviewed-on: https://chromium-review.googlesource.com/643506Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47714}
parent d2881cd3
......@@ -2760,7 +2760,7 @@ TEST(BuiltinsHaveBuiltinIdForLazyDeserialization) {
->lazy_deserialization_builtin_id());
CHECK(!Builtins::IsLazy(Builtins::kIllegal));
CHECK(!isolate->intl_date_time_format_function()
CHECK(!isolate->opaque_reference_function()
->shared()
->HasLazyDeserializationBuiltinId());
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment