Commit 2ce5acf6 authored by Igor Sheludko's avatar Igor Sheludko Committed by Commit Bot

[sparkplug] Don't use short builtin calls with code serializer

... because serialization of RUNTIME_ENTRY reloc infos is not supported
yet.

Bug: v8:11527
Change-Id: I0a0451710f7dd57b6393b8fad1620d29346a9f49
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2772602Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73503}
parent f4473d98
......@@ -73,9 +73,11 @@ AssemblerOptions AssemblerOptions::Default(Isolate* isolate) {
DCHECK_IMPLIES(code_range.begin() != kNullAddress, !code_range.is_empty());
options.code_range_start = code_range.begin();
#endif
options.short_builtin_calls = FLAG_short_builtin_calls &&
!generating_embedded_builtin &&
(options.code_range_start != kNullAddress);
options.short_builtin_calls =
FLAG_short_builtin_calls && !generating_embedded_builtin &&
(options.code_range_start != kNullAddress) &&
// Serialization of RUNTIME_ENTRY reloc infos is not supported yet.
!serializer;
return options;
}
......
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