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/cpu.h" | 10 #include "vm/cpu.h" |
(...skipping 13872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13883 set_filled_entry_count(filled_entry_count() + 1); | 13883 set_filled_entry_count(filled_entry_count() + 1); |
13884 return; | 13884 return; |
13885 } | 13885 } |
13886 i = (i + 1) & id_mask; | 13886 i = (i + 1) & id_mask; |
13887 } while (i != index); | 13887 } while (i != index); |
13888 UNREACHABLE(); | 13888 UNREACHABLE(); |
13889 } | 13889 } |
13890 | 13890 |
13891 | 13891 |
13892 const char* MegamorphicCache::ToCString() const { | 13892 const char* MegamorphicCache::ToCString() const { |
13893 return ""; | 13893 return "MegamorphicCache"; |
13894 } | 13894 } |
13895 | 13895 |
13896 | 13896 |
13897 void MegamorphicCache::PrintJSONImpl(JSONStream* stream, bool ref) const { | 13897 void MegamorphicCache::PrintJSONImpl(JSONStream* stream, bool ref) const { |
13898 Object::PrintJSONImpl(stream, ref); | 13898 Object::PrintJSONImpl(stream, ref); |
13899 } | 13899 } |
13900 | 13900 |
13901 | 13901 |
13902 RawSubtypeTestCache* SubtypeTestCache::New() { | 13902 RawSubtypeTestCache* SubtypeTestCache::New() { |
13903 ASSERT(Object::subtypetestcache_class() != Class::null()); | 13903 ASSERT(Object::subtypetestcache_class() != Class::null()); |
(...skipping 7641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21545 return tag_label.ToCString(); | 21545 return tag_label.ToCString(); |
21546 } | 21546 } |
21547 | 21547 |
21548 | 21548 |
21549 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 21549 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
21550 Instance::PrintJSONImpl(stream, ref); | 21550 Instance::PrintJSONImpl(stream, ref); |
21551 } | 21551 } |
21552 | 21552 |
21553 | 21553 |
21554 } // namespace dart | 21554 } // namespace dart |
OLD | NEW |