| OLD | NEW |
| 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 VM_OBJECT_H_ | 5 #ifndef VM_OBJECT_H_ |
| 6 #define VM_OBJECT_H_ | 6 #define 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 2768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2779 } | 2779 } |
| 2780 | 2780 |
| 2781 intptr_t num_args_tested() const { | 2781 intptr_t num_args_tested() const { |
| 2782 return raw_ptr()->num_args_tested_; | 2782 return raw_ptr()->num_args_tested_; |
| 2783 } | 2783 } |
| 2784 | 2784 |
| 2785 intptr_t deopt_id() const { | 2785 intptr_t deopt_id() const { |
| 2786 return raw_ptr()->deopt_id_; | 2786 return raw_ptr()->deopt_id_; |
| 2787 } | 2787 } |
| 2788 | 2788 |
| 2789 intptr_t deopt_reason() const { |
| 2790 return raw_ptr()->deopt_reason_; |
| 2791 } |
| 2792 |
| 2793 void set_deopt_reason(intptr_t reason) const; |
| 2794 |
| 2789 intptr_t NumberOfChecks() const; | 2795 intptr_t NumberOfChecks() const; |
| 2790 | 2796 |
| 2791 static intptr_t InstanceSize() { | 2797 static intptr_t InstanceSize() { |
| 2792 return RoundedAllocationSize(sizeof(RawICData)); | 2798 return RoundedAllocationSize(sizeof(RawICData)); |
| 2793 } | 2799 } |
| 2794 | 2800 |
| 2795 static intptr_t target_name_offset() { | 2801 static intptr_t target_name_offset() { |
| 2796 return OFFSET_OF(RawICData, target_name_); | 2802 return OFFSET_OF(RawICData, target_name_); |
| 2797 } | 2803 } |
| 2798 | 2804 |
| (...skipping 3062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5861 if (this->CharAt(i) != str.CharAt(begin_index + i)) { | 5867 if (this->CharAt(i) != str.CharAt(begin_index + i)) { |
| 5862 return false; | 5868 return false; |
| 5863 } | 5869 } |
| 5864 } | 5870 } |
| 5865 return true; | 5871 return true; |
| 5866 } | 5872 } |
| 5867 | 5873 |
| 5868 } // namespace dart | 5874 } // namespace dart |
| 5869 | 5875 |
| 5870 #endif // VM_OBJECT_H_ | 5876 #endif // VM_OBJECT_H_ |
| OLD | NEW |