[vm] Add missing case statements to sendAndExit verification.
Fixes dead code warnings in GCC. Change-Id: Idb3807e88ce1314f06da2683e82635ea9142a7f5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/146020 Reviewed-by: Martin Kustermann <kustermann@google.com> Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
committed by
commit-bot@chromium.org
parent
364a2ac7d5
commit
54834fe4e7
@@ -179,10 +179,10 @@ static ObjectPtr ValidateMessageObject(Zone* zone,
|
||||
switch (cid) {
|
||||
// List below matches the one in raw_object_snapshot.cc
|
||||
#define MESSAGE_SNAPSHOT_ILLEGAL(type) \
|
||||
return Exceptions::CreateUnhandledException( \
|
||||
zone, Exceptions::kArgumentValue, \
|
||||
"Illegal argument in isolate message : (object is a " #type ")"); \
|
||||
break;
|
||||
case k##type##Cid: \
|
||||
return Exceptions::CreateUnhandledException( \
|
||||
zone, Exceptions::kArgumentValue, \
|
||||
"Illegal argument in isolate message : (object is a " #type ")");
|
||||
|
||||
MESSAGE_SNAPSHOT_ILLEGAL(DynamicLibrary);
|
||||
MESSAGE_SNAPSHOT_ILLEGAL(MirrorReference);
|
||||
|
||||
Reference in New Issue
Block a user