| 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 14676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14847 } | 14846 } |
| 14848 | 14847 |
| 14849 | 14848 |
| 14850 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { | 14849 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { |
| 14851 stream->OpenObject(); | 14850 stream->OpenObject(); |
| 14852 stream->CloseObject(); | 14851 stream->CloseObject(); |
| 14853 } | 14852 } |
| 14854 | 14853 |
| 14855 | 14854 |
| 14856 } // namespace dart | 14855 } // namespace dart |
| OLD | NEW |