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

Unified Diff: runtime/bin/builtin_gen_snapshot.cc

Issue 1405183002: Bring up the service isolate and use it for package resolution in gen_snapshot (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « runtime/bin/bin.gypi ('k') | runtime/bin/dartutils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/builtin_gen_snapshot.cc
diff --git a/runtime/bin/builtin_gen_snapshot.cc b/runtime/bin/builtin_gen_snapshot.cc
index 2852464c535aa94291eec75b71389fa2c7b7518e..c1263bd06cb653df222ab9c8c9bab7fba952bdf6 100644
--- a/runtime/bin/builtin_gen_snapshot.cc
+++ b/runtime/bin/builtin_gen_snapshot.cc
@@ -9,6 +9,7 @@
#include "include/dart_api.h"
#include "bin/builtin.h"
+#include "bin/io_natives.h"
namespace dart {
namespace bin {
@@ -45,7 +46,7 @@ Dart_NativeFunction Builtin::NativeLookup(Dart_Handle name,
return reinterpret_cast<Dart_NativeFunction>(entry->function_);
}
}
- return NULL;
+ return IONativeLookup(name, argument_count, auto_setup_scope);
}
@@ -57,7 +58,7 @@ const uint8_t* Builtin::NativeSymbol(Dart_NativeFunction nf) {
return reinterpret_cast<const uint8_t*>(entry->name_);
}
}
- return NULL;
+ return IONativeSymbol(nf);
}
« no previous file with comments | « runtime/bin/bin.gypi ('k') | runtime/bin/dartutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698