[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 <verwaest@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75458}
This commit is contained in:
Milad Fa 2021-06-25 13:10:08 -04:00 committed by V8 LUCI CQ
parent 036e578314
commit 51dd4ac133

View File

@ -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 {