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

Unified Diff: runtime/vm/object.h

Issue 194813008: Add compile timestamp to Code (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 | « no previous file | runtime/vm/object.cc » ('j') | runtime/vm/object.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index b18723987c9204ab7b0198a86ca1d36fbb41aad4..d8654767840bc281cf047de7ffa85c1b77fa4b7d 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -3364,6 +3364,10 @@ class Code : public Object {
RawString* Name() const;
RawString* UserName() const;
+ int64_t compile_timestamp() {
+ return raw_ptr()->compile_timestamp_;
siva 2014/03/11 20:32:08 compile_timestamp() const {
Cutch 2014/03/11 21:09:15 Done.
+ }
+
private:
void set_state_bits(intptr_t bits) const;
@@ -3396,6 +3400,10 @@ class Code : public Object {
static const intptr_t kEntrySize = sizeof(int32_t); // NOLINT
+ void set_compile_timestamp(int64_t timestamp) {
siva 2014/03/11 20:32:08 const {
Cutch 2014/03/11 21:09:15 Done.
+ raw_ptr()->compile_timestamp_ = timestamp;
+ }
+
void set_instructions(RawInstructions* instructions) {
// RawInstructions are never allocated in New space and hence a
// store buffer update is not needed here.
« no previous file with comments | « no previous file | runtime/vm/object.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698