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

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

Issue 778983002: - Implement hashCode and == for Capability. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years 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/lib/isolate_patch.dart ('k') | tests/isolate/isolate.status » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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_BOOTSTRAP_NATIVES_H_ 5 #ifndef VM_BOOTSTRAP_NATIVES_H_
6 #define VM_BOOTSTRAP_NATIVES_H_ 6 #define VM_BOOTSTRAP_NATIVES_H_
7 7
8 #include "vm/native_entry.h" 8 #include "vm/native_entry.h"
9 9
10 // bootstrap dart natives used in the core dart library. 10 // bootstrap dart natives used in the core dart library.
(...skipping 23 matching lines...) Expand all
34 V(Integer_mulFromInteger, 2) \ 34 V(Integer_mulFromInteger, 2) \
35 V(Integer_truncDivFromInteger, 2) \ 35 V(Integer_truncDivFromInteger, 2) \
36 V(Integer_moduloFromInteger, 2) \ 36 V(Integer_moduloFromInteger, 2) \
37 V(Integer_greaterThanFromInteger, 2) \ 37 V(Integer_greaterThanFromInteger, 2) \
38 V(Integer_equalToInteger, 2) \ 38 V(Integer_equalToInteger, 2) \
39 V(Integer_fromEnvironment, 3) \ 39 V(Integer_fromEnvironment, 3) \
40 V(Integer_parse, 1) \ 40 V(Integer_parse, 1) \
41 V(Integer_leftShiftWithMask32, 3) \ 41 V(Integer_leftShiftWithMask32, 3) \
42 V(Bool_fromEnvironment, 3) \ 42 V(Bool_fromEnvironment, 3) \
43 V(CapabilityImpl_factory, 1) \ 43 V(CapabilityImpl_factory, 1) \
44 V(CapabilityImpl_equals, 2) \
45 V(CapabilityImpl_get_hashcode, 1) \
44 V(RawReceivePortImpl_factory, 1) \ 46 V(RawReceivePortImpl_factory, 1) \
45 V(RawReceivePortImpl_get_id, 1) \ 47 V(RawReceivePortImpl_get_id, 1) \
46 V(RawReceivePortImpl_get_sendport, 1) \ 48 V(RawReceivePortImpl_get_sendport, 1) \
47 V(RawReceivePortImpl_closeInternal, 1) \ 49 V(RawReceivePortImpl_closeInternal, 1) \
48 V(SendPortImpl_get_id, 1) \ 50 V(SendPortImpl_get_id, 1) \
49 V(SendPortImpl_get_hashcode, 1) \ 51 V(SendPortImpl_get_hashcode, 1) \
50 V(SendPortImpl_sendInternal_, 2) \ 52 V(SendPortImpl_sendInternal_, 2) \
51 V(Smi_shlFromInt, 2) \ 53 V(Smi_shlFromInt, 2) \
52 V(Smi_shrFromInt, 2) \ 54 V(Smi_shrFromInt, 2) \
53 V(Smi_bitNegate, 1) \ 55 V(Smi_bitNegate, 1) \
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 static void DN_##name(Dart_NativeArguments args); 390 static void DN_##name(Dart_NativeArguments args);
389 391
390 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 392 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
391 393
392 #undef DECLARE_BOOTSTRAP_NATIVE 394 #undef DECLARE_BOOTSTRAP_NATIVE
393 }; 395 };
394 396
395 } // namespace dart 397 } // namespace dart
396 398
397 #endif // VM_BOOTSTRAP_NATIVES_H_ 399 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/isolate_patch.dart ('k') | tests/isolate/isolate.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698