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

Unified Diff: runtime/vm/bootstrap.h

Issue 22303002: Auto create ApiLocalScope before calling native functions, this ensures that (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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/vm/benchmark_test.cc ('k') | runtime/vm/bootstrap_natives.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/bootstrap.h
===================================================================
--- runtime/vm/bootstrap.h (revision 25822)
+++ runtime/vm/bootstrap.h (working copy)
@@ -5,6 +5,7 @@
#ifndef VM_BOOTSTRAP_H_
#define VM_BOOTSTRAP_H_
+#include "include/dart_api.h"
#include "vm/allocation.h"
namespace dart {
@@ -16,6 +17,7 @@
public:
static RawError* LoadandCompileScripts();
static void SetupNativeResolver();
+ static bool IsBootstapResolver(Dart_NativeEntryResolver resolver);
// Source path mapping for library URI and 'parts'.
static const char* async_source_paths_[];
« no previous file with comments | « runtime/vm/benchmark_test.cc ('k') | runtime/vm/bootstrap_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698