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

Side by Side Diff: runtime/vm/object.h

Issue 2979163002: Allow setting breakpoints in function literal field initializers under --dfe. (Closed)
Patch Set: Address comments on patch set 2 Created 3 years, 5 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 unified diff | Download patch
« no previous file with comments | « runtime/vm/kernel_to_il.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef RUNTIME_VM_OBJECT_H_ 5 #ifndef RUNTIME_VM_OBJECT_H_
6 #define RUNTIME_VM_OBJECT_H_ 6 #define RUNTIME_VM_OBJECT_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 3577 matching lines...) Expand 10 before | Expand all | Expand 10 after
3588 intptr_t col_offset() const { return raw_ptr()->col_offset_; } 3588 intptr_t col_offset() const { return raw_ptr()->col_offset_; }
3589 3589
3590 // The load time in milliseconds since epoch. 3590 // The load time in milliseconds since epoch.
3591 int64_t load_timestamp() const { return raw_ptr()->load_timestamp_; } 3591 int64_t load_timestamp() const { return raw_ptr()->load_timestamp_; }
3592 3592
3593 RawArray* compile_time_constants() const { 3593 RawArray* compile_time_constants() const {
3594 return raw_ptr()->compile_time_constants_; 3594 return raw_ptr()->compile_time_constants_;
3595 } 3595 }
3596 void set_compile_time_constants(const Array& value) const; 3596 void set_compile_time_constants(const Array& value) const;
3597 3597
3598 const uint8_t* kernel_data() { return raw_ptr()->kernel_data_; } 3598 const uint8_t* kernel_data() const { return raw_ptr()->kernel_data_; }
3599 void set_kernel_data(const uint8_t* kernel_data) const; 3599 void set_kernel_data(const uint8_t* kernel_data) const;
3600 3600
3601 intptr_t kernel_data_size() { return raw_ptr()->kernel_data_size_; } 3601 intptr_t kernel_data_size() const { return raw_ptr()->kernel_data_size_; }
3602 void set_kernel_data_size(const intptr_t kernel_data_size) const; 3602 void set_kernel_data_size(const intptr_t kernel_data_size) const;
3603 3603
3604 intptr_t kernel_script_index() { return raw_ptr()->kernel_script_index_; } 3604 intptr_t kernel_script_index() { return raw_ptr()->kernel_script_index_; }
3605 void set_kernel_script_index(const intptr_t kernel_script_index) const; 3605 void set_kernel_script_index(const intptr_t kernel_script_index) const;
3606 3606
3607 RawTypedData* kernel_string_offsets() const { 3607 RawTypedData* kernel_string_offsets() const {
3608 return raw_ptr()->kernel_string_offsets_; 3608 return raw_ptr()->kernel_string_offsets_;
3609 } 3609 }
3610 void set_kernel_string_offsets(const TypedData& offsets) const; 3610 void set_kernel_string_offsets(const TypedData& offsets) const;
3611 3611
(...skipping 5301 matching lines...) Expand 10 before | Expand all | Expand 10 after
8913 8913
8914 inline void TypeArguments::SetHash(intptr_t value) const { 8914 inline void TypeArguments::SetHash(intptr_t value) const {
8915 // This is only safe because we create a new Smi, which does not cause 8915 // This is only safe because we create a new Smi, which does not cause
8916 // heap allocation. 8916 // heap allocation.
8917 StoreSmi(&raw_ptr()->hash_, Smi::New(value)); 8917 StoreSmi(&raw_ptr()->hash_, Smi::New(value));
8918 } 8918 }
8919 8919
8920 } // namespace dart 8920 } // namespace dart
8921 8921
8922 #endif // RUNTIME_VM_OBJECT_H_ 8922 #endif // RUNTIME_VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/kernel_to_il.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698