| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 RawClass* Object::subtypetestcache_class_ = | 102 RawClass* Object::subtypetestcache_class_ = |
| 103 reinterpret_cast<RawClass*>(RAW_NULL); | 103 reinterpret_cast<RawClass*>(RAW_NULL); |
| 104 RawClass* Object::api_error_class_ = reinterpret_cast<RawClass*>(RAW_NULL); | 104 RawClass* Object::api_error_class_ = reinterpret_cast<RawClass*>(RAW_NULL); |
| 105 RawClass* Object::language_error_class_ = reinterpret_cast<RawClass*>(RAW_NULL); | 105 RawClass* Object::language_error_class_ = reinterpret_cast<RawClass*>(RAW_NULL); |
| 106 RawClass* Object::unhandled_exception_class_ = | 106 RawClass* Object::unhandled_exception_class_ = |
| 107 reinterpret_cast<RawClass*>(RAW_NULL); | 107 reinterpret_cast<RawClass*>(RAW_NULL); |
| 108 RawClass* Object::unwind_error_class_ = reinterpret_cast<RawClass*>(RAW_NULL); | 108 RawClass* Object::unwind_error_class_ = reinterpret_cast<RawClass*>(RAW_NULL); |
| 109 #undef RAW_NULL | 109 #undef RAW_NULL |
| 110 | 110 |
| 111 | 111 |
| 112 const double MegamorphicCache::kLoadFactor = 0.75; |
| 113 |
| 114 |
| 112 // Takes a vm internal name and makes it suitable for external user. | 115 // Takes a vm internal name and makes it suitable for external user. |
| 113 // | 116 // |
| 114 // Examples: | 117 // Examples: |
| 115 // | 118 // |
| 116 // Internal getter and setter prefixes are changed: | 119 // Internal getter and setter prefixes are changed: |
| 117 // | 120 // |
| 118 // get:foo -> foo | 121 // get:foo -> foo |
| 119 // set:foo -> foo= | 122 // set:foo -> foo= |
| 120 // | 123 // |
| 121 // Private name mangling is removed, possibly twice: | 124 // Private name mangling is removed, possibly twice: |
| (...skipping 12174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12296 } | 12299 } |
| 12297 return result.raw(); | 12300 return result.raw(); |
| 12298 } | 12301 } |
| 12299 | 12302 |
| 12300 | 12303 |
| 12301 const char* WeakProperty::ToCString() const { | 12304 const char* WeakProperty::ToCString() const { |
| 12302 return "_WeakProperty"; | 12305 return "_WeakProperty"; |
| 12303 } | 12306 } |
| 12304 | 12307 |
| 12305 } // namespace dart | 12308 } // namespace dart |
| OLD | NEW |