From 51dd4ac1337549adf04e550a20936d898c933eb7 Mon Sep 17 00:00:00 2001 From: Milad Fa Date: Fri, 25 Jun 2021 13:10:08 -0400 Subject: [PATCH] [sparkplug] Include SharedFunctionInfo on all platforms `SharedFunctionInfo` is defined under the added header and not having it included causes this compilation error: variable has incomplete type 'v8::internal::SharedFunctionInfo' Change-Id: Ieb0e8f89043f91decdc93f8b3e3c5ed29c0043c6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2989133 Commit-Queue: Toon Verwaest Reviewed-by: Toon Verwaest Cr-Commit-Position: refs/heads/master@{#75458} --- src/baseline/baseline.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/baseline/baseline.cc b/src/baseline/baseline.cc index 396f63285a..be6e4ec3b3 100644 --- a/src/baseline/baseline.cc +++ b/src/baseline/baseline.cc @@ -5,6 +5,7 @@ #include "src/baseline/baseline.h" #include "src/handles/maybe-handles.h" +#include "src/objects/shared-function-info-inl.h" // TODO(v8:11421): Remove #if once baseline compiler is ported to other // architectures. @@ -18,7 +19,6 @@ #include "src/heap/factory-inl.h" #include "src/logging/runtime-call-stats-scope.h" #include "src/objects/script-inl.h" -#include "src/objects/shared-function-info-inl.h" namespace v8 { namespace internal {