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

Unified Diff: runtime/vm/snapshot.h

Issue 2859913002: Resolve inconsistent treatment of stubs in kAppJIT snapshots in favor of write stubs in the snapsho… (Closed)
Patch Set: Created 3 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/vm/snapshot.h
diff --git a/runtime/vm/snapshot.h b/runtime/vm/snapshot.h
index 8e387efee7447bb738d5f92419883f1826e21062..2c182e92d0541e600e978a443620995643a04ebe 100644
--- a/runtime/vm/snapshot.h
+++ b/runtime/vm/snapshot.h
@@ -715,8 +715,8 @@ class ImageWriter : public ZoneAllocated {
instructions_.Clear();
objects_.Clear();
}
- int32_t GetOffsetFor(RawInstructions* instructions, RawCode* code);
- int32_t GetObjectOffsetFor(RawObject* raw_object);
+ int32_t GetTextOffsetFor(RawInstructions* instructions, RawCode* code);
+ int32_t GetDataOffsetFor(RawObject* raw_object);
void Write(WriteStream* clustered_stream, bool vm);
virtual intptr_t text_size() = 0;

Powered by Google App Engine
This is Rietveld 408576698