Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 4eb1acaca1679d9ba0aeb8e3917fd0f3050b1212..aeb798833557a3b06b90ade0ce623bd83e8a7ac1 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -20091,7 +20091,7 @@ void Capability::PrintJSONImpl(JSONStream* stream, bool ref) const { |
RawReceivePort* ReceivePort::New(Dart_Port id, |
bool is_control_port, |
Heap::Space space) { |
- ASSERT(id != DART_ILLEGAL_PORT); |
+ ASSERT(id != ILLEGAL_PORT); |
Isolate* isolate = Isolate::Current(); |
const SendPort& send_port = |
SendPort::Handle(isolate, SendPort::New(id, isolate->origin_id())); |
@@ -20132,7 +20132,7 @@ RawSendPort* SendPort::New(Dart_Port id, Heap::Space space) { |
RawSendPort* SendPort::New(Dart_Port id, |
Dart_Port origin_id, |
Heap::Space space) { |
- ASSERT(id != DART_ILLEGAL_PORT); |
+ ASSERT(id != ILLEGAL_PORT); |
SendPort& result = SendPort::Handle(); |
{ |
RawObject* raw = Object::Allocate(SendPort::kClassId, |