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

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

Issue 1139503002: Move 'dart:profiler' contents into 'dart:developer' and remove 'dart:profiler' (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/intrinsifier.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) 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 #include "vm/bootstrap.h" 5 #include "vm/bootstrap.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 8
9 #include "vm/bootstrap_natives.h" 9 #include "vm/bootstrap_natives.h"
10 #include "vm/dart_api_impl.h" 10 #include "vm/dart_api_impl.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 library = Library::MathLibrary(); 113 library = Library::MathLibrary();
114 ASSERT(!library.IsNull()); 114 ASSERT(!library.IsNull());
115 library.set_native_entry_resolver(resolver); 115 library.set_native_entry_resolver(resolver);
116 library.set_native_entry_symbol_resolver(symbol_resolver); 116 library.set_native_entry_symbol_resolver(symbol_resolver);
117 117
118 library = Library::MirrorsLibrary(); 118 library = Library::MirrorsLibrary();
119 ASSERT(!library.IsNull()); 119 ASSERT(!library.IsNull());
120 library.set_native_entry_resolver(resolver); 120 library.set_native_entry_resolver(resolver);
121 library.set_native_entry_symbol_resolver(symbol_resolver); 121 library.set_native_entry_symbol_resolver(symbol_resolver);
122 122
123 library = Library::ProfilerLibrary();
124 ASSERT(!library.IsNull());
125 library.set_native_entry_resolver(resolver);
126 library.set_native_entry_symbol_resolver(symbol_resolver);
127
128 library = Library::TypedDataLibrary(); 123 library = Library::TypedDataLibrary();
129 ASSERT(!library.IsNull()); 124 ASSERT(!library.IsNull());
130 library.set_native_entry_resolver(resolver); 125 library.set_native_entry_resolver(resolver);
131 library.set_native_entry_symbol_resolver(symbol_resolver); 126 library.set_native_entry_symbol_resolver(symbol_resolver);
132 } 127 }
133 128
134 129
135 bool Bootstrap::IsBootstapResolver(Dart_NativeEntryResolver resolver) { 130 bool Bootstrap::IsBootstapResolver(Dart_NativeEntryResolver resolver) {
136 return (resolver == 131 return (resolver ==
137 reinterpret_cast<Dart_NativeEntryResolver>(BootstrapNatives::Lookup)); 132 reinterpret_cast<Dart_NativeEntryResolver>(BootstrapNatives::Lookup));
138 } 133 }
139 134
140 } // namespace dart 135 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/intrinsifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698