| 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 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1496 intptr_t deoptimization_counter() const { | 1496 intptr_t deoptimization_counter() const { |
| 1497 return raw_ptr()->deoptimization_counter_; | 1497 return raw_ptr()->deoptimization_counter_; |
| 1498 } | 1498 } |
| 1499 void set_deoptimization_counter(intptr_t value) const { | 1499 void set_deoptimization_counter(intptr_t value) const { |
| 1500 raw_ptr()->deoptimization_counter_ = value; | 1500 raw_ptr()->deoptimization_counter_ = value; |
| 1501 } | 1501 } |
| 1502 | 1502 |
| 1503 bool is_optimizable() const { return raw()->IsOptimizable(); } | 1503 bool is_optimizable() const { return raw()->IsOptimizable(); } |
| 1504 void set_is_optimizable(bool value) const; | 1504 void set_is_optimizable(bool value) const; |
| 1505 | 1505 |
| 1506 bool has_finally() const { return raw()->HasFinally(); } |
| 1507 void set_has_finally(bool value) const; |
| 1508 |
| 1506 bool is_native() const { return raw()->IsNative(); } | 1509 bool is_native() const { return raw()->IsNative(); } |
| 1507 void set_is_native(bool value) const; | 1510 void set_is_native(bool value) const; |
| 1508 | 1511 |
| 1509 bool is_abstract() const { return raw()->IsAbstract(); } | 1512 bool is_abstract() const { return raw()->IsAbstract(); } |
| 1510 void set_is_abstract(bool value) const; | 1513 void set_is_abstract(bool value) const; |
| 1511 | 1514 |
| 1512 bool HasOptimizedCode() const; | 1515 bool HasOptimizedCode() const; |
| 1513 | 1516 |
| 1514 intptr_t NumberOfParameters() const; | 1517 intptr_t NumberOfParameters() const; |
| 1515 intptr_t NumberOfImplicitParameters() const; | 1518 intptr_t NumberOfImplicitParameters() const; |
| (...skipping 3932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5448 if (this->CharAt(i) != str.CharAt(begin_index + i)) { | 5451 if (this->CharAt(i) != str.CharAt(begin_index + i)) { |
| 5449 return false; | 5452 return false; |
| 5450 } | 5453 } |
| 5451 } | 5454 } |
| 5452 return true; | 5455 return true; |
| 5453 } | 5456 } |
| 5454 | 5457 |
| 5455 } // namespace dart | 5458 } // namespace dart |
| 5456 | 5459 |
| 5457 #endif // VM_OBJECT_H_ | 5460 #endif // VM_OBJECT_H_ |
| OLD | NEW |