mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 02:57:35 +00:00
[vm] Fix MSVC build.
TEST=ci Change-Id: I20c24948d426a396817807c2d9c570e67d4a106c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/306124 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>
This commit is contained in:
parent
8702f09502
commit
89330b306b
|
@ -69,18 +69,21 @@ class FfiCallbackMetadata {
|
|||
struct {
|
||||
// Note: This is a pointer into an an Instructions object. This is only
|
||||
// safe because Instructions objects are never moved by the GC.
|
||||
uword target_entry_point_ = 0;
|
||||
uword target_entry_point_;
|
||||
|
||||
Trampoline sync_list_next_ = nullptr;
|
||||
Trampoline sync_list_next_;
|
||||
|
||||
TrampolineType trampoline_type_ = TrampolineType::kSync;
|
||||
TrampolineType trampoline_type_;
|
||||
};
|
||||
|
||||
// !IsLive()
|
||||
Trampoline free_list_next_;
|
||||
};
|
||||
|
||||
Metadata() {}
|
||||
Metadata()
|
||||
: target_entry_point_(0),
|
||||
sync_list_next_(nullptr),
|
||||
trampoline_type_(TrampolineType::kSync) {}
|
||||
Metadata(Isolate* target_isolate,
|
||||
uword target_entry_point,
|
||||
Trampoline sync_list_next,
|
||||
|
|
Loading…
Reference in a new issue