-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vm] Fix the RISCV64 SDK build after 2f63ace.
GCC (used in the RISCV64 build) and clang (used to build other architectures) have different views of what's visible in the return type position for an external template method definition. Thus, move the use into the definition body via constexpr if, which works for both. TEST=dart-sdk-linux-riscv64-try Cq-Include-Trybots: luci.dart.try:dart-sdk-linux-riscv64-try Change-Id: Id7adfd93764ff11d99d3ded4893739b90bb25676 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/313123 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com>
- Loading branch information
Showing
1 changed file
with
22 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters