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

Unified Diff: runtime/vm/raw_object.h

Issue 1295823003: VM: Cache instructions entry point in RawFunction/RawCode. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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/object.cc ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index 23140edb5a14d5ee3c73951ccd5930082832eeb9..fe8425911540386ea12e78ffe4233d2b07b323bc 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -771,6 +771,7 @@ class RawFunction : public RawObject {
RawObject** to() {
return reinterpret_cast<RawObject**>(&ptr()->unoptimized_code_);
}
+ uword entry_point_;
int32_t token_pos_;
int32_t end_token_pos_;
@@ -1003,6 +1004,7 @@ class RawCode : public RawObject {
RawObject** to() {
return reinterpret_cast<RawObject**>(&ptr()->comments_);
}
+ uword entry_point_;
// Compilation timestamp.
int64_t compile_timestamp_;
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698