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

Unified Diff: runtime/bin/builtin_natives.cc

Issue 1137853002: - Refactor builtin.dart before any further work in this file. (Closed) Base URL: http://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 side-by-side diff with in-line comments
Download patch
Index: runtime/bin/builtin_natives.cc
===================================================================
--- runtime/bin/builtin_natives.cc (revision 45623)
+++ runtime/bin/builtin_natives.cc (working copy)
@@ -64,8 +64,8 @@
V(File_GetStdioHandleType, 1) \
V(File_GetType, 2) \
V(File_AreIdentical, 2) \
- V(Logger_PrintString, 1) \
- V(Builtin_LoadScript, 4) \
+ V(Builtin_PrintString, 1) \
+ V(Builtin_LoadSource, 4) \
V(Builtin_AsyncLoadError, 3) \
V(Builtin_DoneLoading, 0) \
V(Builtin_NativeLibraryExtension, 0) \
@@ -121,7 +121,7 @@
// Implementation of native functions which are used for some
// test/debug functionality in standalone dart mode.
-void FUNCTION_NAME(Logger_PrintString)(Dart_NativeArguments args) {
+void FUNCTION_NAME(Builtin_PrintString)(Dart_NativeArguments args) {
intptr_t length = 0;
uint8_t* chars = NULL;
Dart_Handle str = Dart_GetNativeArgument(args, 0);

Powered by Google App Engine
This is Rietveld 408576698