Skip to content

Commit

Permalink
[vm] Fix -O0 build after CL 101222
Browse files Browse the repository at this point in the history
const objects that are declared in .h files are supposed to have
out-of-line definitions in their corresponding .cc file. It seems like
CL 101222 happened to expose this for Message::kIllegalPort.

Change-Id: I9656037581eb6406eaf3289dfcf705db90862a26
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/102122
Commit-Queue: Matthew Dempsky <mdempsky@google.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
  • Loading branch information
mdempsky authored and commit-bot@chromium.org committed May 10, 2019
1 parent 8a3a9dc commit b1f6c1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/vm/message.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

namespace dart {

const Dart_Port Message::kIllegalPort;

Message::Message(Dart_Port dest_port,
uint8_t* snapshot,
intptr_t snapshot_length,
Expand Down

0 comments on commit b1f6c1d

Please sign in to comment.