| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 137 |
| 138 | 138 |
| 139 // The following functions are marked as invisible, meaning they will be hidden | 139 // The following functions are marked as invisible, meaning they will be hidden |
| 140 // in the stack trace. | 140 // in the stack trace. |
| 141 // (Library, class name, method name) | 141 // (Library, class name, method name) |
| 142 #define INVISIBLE_LIST(V) \ | 142 #define INVISIBLE_LIST(V) \ |
| 143 V(CoreLibrary, Object, _noSuchMethod) \ | 143 V(CoreLibrary, Object, _noSuchMethod) \ |
| 144 V(CoreLibrary, Object, _as) \ | 144 V(CoreLibrary, Object, _as) \ |
| 145 V(CoreLibrary, Object, _instanceOf) \ | 145 V(CoreLibrary, Object, _instanceOf) \ |
| 146 V(CoreLibrary, _ObjectArray, _ObjectArray.) \ | 146 V(CoreLibrary, _ObjectArray, _ObjectArray.) \ |
| 147 V(CoreLibrary, _AssertionErrorImplementation, _throwNew) \ | 147 V(CoreLibrary, AssertionErrorImplementation, _throwNew) \ |
| 148 V(CoreLibrary, _TypeErrorImplementation, _throwNew) \ | 148 V(CoreLibrary, TypeErrorImplementation, _throwNew) \ |
| 149 V(CoreLibrary, _FallThroughErrorImplementation, _throwNew) \ | 149 V(CoreLibrary, FallThroughErrorImplementation, _throwNew) \ |
| 150 V(CoreLibrary, _AbstractClassInstantiationErrorImplementation, _throwNew) \ | 150 V(CoreLibrary, AbstractClassInstantiationErrorImplementation, _throwNew) \ |
| 151 V(CoreLibrary, NoSuchMethodError, _throwNew) \ | 151 V(CoreLibrary, NoSuchMethodError, _throwNew) \ |
| 152 V(CoreLibrary, int, _throwFormatException) \ | 152 V(CoreLibrary, int, _throwFormatException) \ |
| 153 V(CoreLibrary, int, _parse) \ | 153 V(CoreLibrary, int, _parse) \ |
| 154 V(CoreLibrary, StackTrace, _setupFullStackTrace) \ | 154 V(CoreLibrary, StackTrace, _setupFullStackTrace) \ |
| 155 | 155 |
| 156 | 156 |
| 157 static void MarkFunctionAsInvisible(const Library& lib, | 157 static void MarkFunctionAsInvisible(const Library& lib, |
| 158 const char* class_name, | 158 const char* class_name, |
| 159 const char* function_name) { | 159 const char* function_name) { |
| 160 ASSERT(!lib.IsNull()); | 160 ASSERT(!lib.IsNull()); |
| (...skipping 13987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14148 } | 14148 } |
| 14149 | 14149 |
| 14150 | 14150 |
| 14151 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { | 14151 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { |
| 14152 stream->OpenObject(); | 14152 stream->OpenObject(); |
| 14153 stream->CloseObject(); | 14153 stream->CloseObject(); |
| 14154 } | 14154 } |
| 14155 | 14155 |
| 14156 | 14156 |
| 14157 } // namespace dart | 14157 } // namespace dart |
| OLD | NEW |