Chromium Code Reviews| 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. |