Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1742)

Unified Diff: runtime/vm/object.cc

Issue 1130753006: Hide Isolate pointer from embedder (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index f4f90c6b9e0c26e5f416f1212526882cabb6c5d2..44466e6370111255f0453f2abf7ade48ef38c4a9 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -20115,7 +20115,7 @@ void Capability::PrintJSONImpl(JSONStream* stream, bool ref) const {
RawReceivePort* ReceivePort::New(Dart_Port id,
bool is_control_port,
Heap::Space space) {
- ASSERT(id != ILLEGAL_PORT);
+ ASSERT(id != DART_ILLEGAL_PORT);
Isolate* isolate = Isolate::Current();
const SendPort& send_port =
SendPort::Handle(isolate, SendPort::New(id, isolate->origin_id()));
@@ -20156,7 +20156,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 != ILLEGAL_PORT);
+ ASSERT(id != DART_ILLEGAL_PORT);
SendPort& result = SendPort::Handle();
{
RawObject* raw = Object::Allocate(SendPort::kClassId,

Powered by Google App Engine
This is Rietveld 408576698