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

Side by Side Diff: runtime/vm/dart_entry.h

Issue 196443009: - First step in refactoring ports with the goal of moving (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/dart_entry.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_DART_ENTRY_H_ 5 #ifndef VM_DART_ENTRY_H_
6 #define VM_DART_ENTRY_H_ 6 #define VM_DART_ENTRY_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/growable_array.h" 9 #include "vm/growable_array.h"
10 10
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // Returns null on success, a RawError on failure. 177 // Returns null on success, a RawError on failure.
178 static RawObject* MapSetAt(const Instance& map, 178 static RawObject* MapSetAt(const Instance& map,
179 const Instance& key, 179 const Instance& key,
180 const Instance& value); 180 const Instance& value);
181 181
182 // Gets the _id field of a SendPort/ReceivePort. 182 // Gets the _id field of a SendPort/ReceivePort.
183 // 183 //
184 // Returns the value of _id on success, a RawError on failure. 184 // Returns the value of _id on success, a RawError on failure.
185 static RawObject* PortGetId(const Instance& port); 185 static RawObject* PortGetId(const Instance& port);
186 186
187 static bool IsSendPort(const Instance& send_port); 187 static bool IsSendPort(const Instance& obj);
188 static bool IsReceivePort(const Instance& obj);
188 }; 189 };
189 190
190 } // namespace dart 191 } // namespace dart
191 192
192 #endif // VM_DART_ENTRY_H_ 193 #endif // VM_DART_ENTRY_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/dart_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698