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

Unified Diff: runtime/bin/file.h

Issue 1915853004: Option to output precompiled instructions as a blob for use with mmap instead of assembly for use i… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/file.h
diff --git a/runtime/bin/file.h b/runtime/bin/file.h
index ae8019949eae22bce87e9a08f706716bf19f20a2..2c153bc040d1efd75885c7bf90849ebd9ee94313 100644
--- a/runtime/bin/file.h
+++ b/runtime/bin/file.h
@@ -86,6 +86,8 @@ class File : public ReferenceCounted<File> {
intptr_t GetFD();
+ void* MapExecutable(intptr_t* num_bytes);
+
// Read/Write attempt to transfer num_bytes to/from buffer. It returns
// the number of bytes read/written.
int64_t Read(void* buffer, int64_t num_bytes);

Powered by Google App Engine
This is Rietveld 408576698