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

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

Issue 9696048: Address Ivan's review comments. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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/lib/isolate.cc ('k') | no next file » | 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_NATIVE_ENTRY_H_ 5 #ifndef VM_NATIVE_ENTRY_H_
6 #define VM_NATIVE_ENTRY_H_ 6 #define VM_NATIVE_ENTRY_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/exceptions.h"
10 #include "vm/native_arguments.h" 11 #include "vm/native_arguments.h"
11 #include "vm/verifier.h" 12 #include "vm/verifier.h"
12 13
13 #include "include/dart_api.h" 14 #include "include/dart_api.h"
14 15
15 namespace dart { 16 namespace dart {
16 17
17 DECLARE_FLAG(bool, trace_natives); 18 DECLARE_FLAG(bool, trace_natives);
18 19
19 // Forward declarations. 20 // Forward declarations.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 public: 74 public:
74 // Resolve specified dart native function to the actual native entrypoint. 75 // Resolve specified dart native function to the actual native entrypoint.
75 static NativeFunction ResolveNative(const Class& cls, 76 static NativeFunction ResolveNative(const Class& cls,
76 const String& function_name, 77 const String& function_name,
77 int number_of_arguments); 78 int number_of_arguments);
78 }; 79 };
79 80
80 } // namespace dart 81 } // namespace dart
81 82
82 #endif // VM_NATIVE_ENTRY_H_ 83 #endif // VM_NATIVE_ENTRY_H_
OLDNEW
« no previous file with comments | « runtime/lib/isolate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698