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

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

Issue 1132113002: Rename 'dart:debugger' to 'dart:developer' (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
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 library = Library::ConvertLibrary(); 88 library = Library::ConvertLibrary();
89 ASSERT(!library.IsNull()); 89 ASSERT(!library.IsNull());
90 library.set_native_entry_resolver(resolver); 90 library.set_native_entry_resolver(resolver);
91 library.set_native_entry_symbol_resolver(symbol_resolver); 91 library.set_native_entry_symbol_resolver(symbol_resolver);
92 92
93 library = Library::CoreLibrary(); 93 library = Library::CoreLibrary();
94 ASSERT(!library.IsNull()); 94 ASSERT(!library.IsNull());
95 library.set_native_entry_resolver(resolver); 95 library.set_native_entry_resolver(resolver);
96 library.set_native_entry_symbol_resolver(symbol_resolver); 96 library.set_native_entry_symbol_resolver(symbol_resolver);
97 97
98 library = Library::DebuggerLibrary(); 98 library = Library::DeveloperLibrary();
99 ASSERT(!library.IsNull()); 99 ASSERT(!library.IsNull());
100 library.set_native_entry_resolver(resolver); 100 library.set_native_entry_resolver(resolver);
101 library.set_native_entry_symbol_resolver(symbol_resolver); 101 library.set_native_entry_symbol_resolver(symbol_resolver);
102 102
103 library = Library::InternalLibrary(); 103 library = Library::InternalLibrary();
104 ASSERT(!library.IsNull()); 104 ASSERT(!library.IsNull());
105 library.set_native_entry_resolver(resolver); 105 library.set_native_entry_resolver(resolver);
106 library.set_native_entry_symbol_resolver(symbol_resolver); 106 library.set_native_entry_symbol_resolver(symbol_resolver);
107 107
108 library = Library::IsolateLibrary(); 108 library = Library::IsolateLibrary();
(...skipping 22 matching lines...) Expand all
131 library.set_native_entry_symbol_resolver(symbol_resolver); 131 library.set_native_entry_symbol_resolver(symbol_resolver);
132 } 132 }
133 133
134 134
135 bool Bootstrap::IsBootstapResolver(Dart_NativeEntryResolver resolver) { 135 bool Bootstrap::IsBootstapResolver(Dart_NativeEntryResolver resolver) {
136 return (resolver == 136 return (resolver ==
137 reinterpret_cast<Dart_NativeEntryResolver>(BootstrapNatives::Lookup)); 137 reinterpret_cast<Dart_NativeEntryResolver>(BootstrapNatives::Lookup));
138 } 138 }
139 139
140 } // namespace dart 140 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698