| 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 #include "vm/object.h" | 5 #include "vm/object.h" |
| 6 | 6 |
| 7 #include "include/dart_api.h" | 7 #include "include/dart_api.h" |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
| 10 #include "vm/bigint_operations.h" | 10 #include "vm/bigint_operations.h" |
| (...skipping 1819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1830 ASSERT(token_pos >= 0); | 1830 ASSERT(token_pos >= 0); |
| 1831 raw_ptr()->token_pos_ = token_pos; | 1831 raw_ptr()->token_pos_ = token_pos; |
| 1832 } | 1832 } |
| 1833 | 1833 |
| 1834 | 1834 |
| 1835 void Class::set_is_interface() const { | 1835 void Class::set_is_interface() const { |
| 1836 uword bits = raw_ptr()->state_bits_; | 1836 uword bits = raw_ptr()->state_bits_; |
| 1837 raw_ptr()->state_bits_ = InterfaceBit::update(true, bits); | 1837 raw_ptr()->state_bits_ = InterfaceBit::update(true, bits); |
| 1838 } | 1838 } |
| 1839 | 1839 |
| 1840 void Class::set_is_abstract() const { | |
| 1841 uword bits = raw_ptr()->state_bits_; | |
| 1842 raw_ptr()->state_bits_ = AbstractBit::update(true, bits); | |
| 1843 } | |
| 1844 | |
| 1845 | 1840 |
| 1846 void Class::set_is_const() const { | 1841 void Class::set_is_const() const { |
| 1847 uword bits = raw_ptr()->state_bits_; | 1842 uword bits = raw_ptr()->state_bits_; |
| 1848 raw_ptr()->state_bits_ = ConstBit::update(true, bits); | 1843 raw_ptr()->state_bits_ = ConstBit::update(true, bits); |
| 1849 } | 1844 } |
| 1850 | 1845 |
| 1851 | 1846 |
| 1852 void Class::set_is_finalized() const { | 1847 void Class::set_is_finalized() const { |
| 1853 ASSERT(!is_finalized()); | 1848 ASSERT(!is_finalized()); |
| 1854 uword bits = raw_ptr()->state_bits_; | 1849 uword bits = raw_ptr()->state_bits_; |
| (...skipping 9330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11185 } | 11180 } |
| 11186 return result.raw(); | 11181 return result.raw(); |
| 11187 } | 11182 } |
| 11188 | 11183 |
| 11189 | 11184 |
| 11190 const char* WeakProperty::ToCString() const { | 11185 const char* WeakProperty::ToCString() const { |
| 11191 return "_WeakProperty"; | 11186 return "_WeakProperty"; |
| 11192 } | 11187 } |
| 11193 | 11188 |
| 11194 } // namespace dart | 11189 } // namespace dart |
| OLD | NEW |