| 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 // (Library, class name, method name) | 150 // (Library, class name, method name) |
| 151 #define INVISIBLE_LIST(V) \ | 151 #define INVISIBLE_LIST(V) \ |
| 152 V(CoreLibrary, Object, _noSuchMethod) \ | 152 V(CoreLibrary, Object, _noSuchMethod) \ |
| 153 V(CoreLibrary, Object, _as) \ | 153 V(CoreLibrary, Object, _as) \ |
| 154 V(CoreLibrary, Object, _instanceOf) \ | 154 V(CoreLibrary, Object, _instanceOf) \ |
| 155 V(CoreLibrary, _ObjectArray, _ObjectArray.) \ | 155 V(CoreLibrary, _ObjectArray, _ObjectArray.) \ |
| 156 V(CoreLibrary, AssertionError, _throwNew) \ | 156 V(CoreLibrary, AssertionError, _throwNew) \ |
| 157 V(CoreLibrary, TypeError, _throwNew) \ | 157 V(CoreLibrary, TypeError, _throwNew) \ |
| 158 V(CoreLibrary, FallThroughError, _throwNew) \ | 158 V(CoreLibrary, FallThroughError, _throwNew) \ |
| 159 V(CoreLibrary, AbstractClassInstantiationError, _throwNew) \ | 159 V(CoreLibrary, AbstractClassInstantiationError, _throwNew) \ |
| 160 V(CoreLibrary, NoSuchMethodError, _throwNew) \ | |
| 161 V(CoreLibrary, int, _throwFormatException) \ | 160 V(CoreLibrary, int, _throwFormatException) \ |
| 162 V(CoreLibrary, int, _parse) \ | 161 V(CoreLibrary, int, _parse) \ |
| 163 V(CoreLibrary, StackTrace, _setupFullStackTrace) \ | 162 V(CoreLibrary, StackTrace, _setupFullStackTrace) \ |
| 164 | 163 |
| 165 | 164 |
| 166 static void MarkFunctionAsInvisible(const Library& lib, | 165 static void MarkFunctionAsInvisible(const Library& lib, |
| 167 const char* class_name, | 166 const char* class_name, |
| 168 const char* function_name) { | 167 const char* function_name) { |
| 169 ASSERT(!lib.IsNull()); | 168 ASSERT(!lib.IsNull()); |
| 170 const Class& cls = Class::Handle( | 169 const Class& cls = Class::Handle( |
| (...skipping 14729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14900 } | 14899 } |
| 14901 | 14900 |
| 14902 | 14901 |
| 14903 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { | 14902 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { |
| 14904 stream->OpenObject(); | 14903 stream->OpenObject(); |
| 14905 stream->CloseObject(); | 14904 stream->CloseObject(); |
| 14906 } | 14905 } |
| 14907 | 14906 |
| 14908 | 14907 |
| 14909 } // namespace dart | 14908 } // namespace dart |
| OLD | NEW |