| 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 |
| 1840 | 1845 |
| 1841 void Class::set_is_const() const { | 1846 void Class::set_is_const() const { |
| 1842 uword bits = raw_ptr()->state_bits_; | 1847 uword bits = raw_ptr()->state_bits_; |
| 1843 raw_ptr()->state_bits_ = ConstBit::update(true, bits); | 1848 raw_ptr()->state_bits_ = ConstBit::update(true, bits); |
| 1844 } | 1849 } |
| 1845 | 1850 |
| 1846 | 1851 |
| 1847 void Class::set_is_finalized() const { | 1852 void Class::set_is_finalized() const { |
| 1848 ASSERT(!is_finalized()); | 1853 ASSERT(!is_finalized()); |
| 1849 uword bits = raw_ptr()->state_bits_; | 1854 uword bits = raw_ptr()->state_bits_; |
| (...skipping 9330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11180 } | 11185 } |
| 11181 return result.raw(); | 11186 return result.raw(); |
| 11182 } | 11187 } |
| 11183 | 11188 |
| 11184 | 11189 |
| 11185 const char* WeakProperty::ToCString() const { | 11190 const char* WeakProperty::ToCString() const { |
| 11186 return "_WeakProperty"; | 11191 return "_WeakProperty"; |
| 11187 } | 11192 } |
| 11188 | 11193 |
| 11189 } // namespace dart | 11194 } // namespace dart |
| OLD | NEW |