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

Unified Diff: runtime/vm/native_entry.h

Issue 1294113004: VM: Link native calls lazily. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed comments Created 5 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/intermediate_language_x64.cc ('k') | runtime/vm/native_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/native_entry.h
diff --git a/runtime/vm/native_entry.h b/runtime/vm/native_entry.h
index 7526965704678ad2f69bc9d8cb770c22d27bf96c..cacf42d4e5a4bac156b7f9ca02b4e3288d750a44 100644
--- a/runtime/vm/native_entry.h
+++ b/runtime/vm/native_entry.h
@@ -112,9 +112,13 @@ class NativeEntry : public AllStatic {
static const uint8_t* ResolveSymbolInLibrary(const Library& library,
uword pc);
static const uint8_t* ResolveSymbol(uword pc);
+
+ static const ExternalLabel& NativeCallWrapperLabel();
static void NativeCallWrapper(Dart_NativeArguments args,
Dart_NativeFunction func);
- static const ExternalLabel& NativeCallWrapperLabel();
+
+ static const ExternalLabel& LinkNativeCallLabel();
+ static void LinkNativeCall(Dart_NativeArguments args);
};
} // namespace dart
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/native_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698