| 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 "platform/assert.h" | 5 #include "platform/assert.h" |
| 6 #include "vm/assembler.h" | 6 #include "vm/assembler.h" |
| 7 #include "vm/bigint_operations.h" | 7 #include "vm/bigint_operations.h" |
| 8 #include "vm/isolate.h" | 8 #include "vm/isolate.h" |
| 9 #include "vm/object.h" | 9 #include "vm/object.h" |
| 10 #include "vm/object_store.h" | 10 #include "vm/object_store.h" |
| (...skipping 2763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2774 bare_name = String::New("foo.named"); | 2774 bare_name = String::New("foo.named"); |
| 2775 EXPECT(!EqualsIgnoringPrivate(mangled_name, bare_name)); | 2775 EXPECT(!EqualsIgnoringPrivate(mangled_name, bare_name)); |
| 2776 | 2776 |
| 2777 // Named double-private constructor mismatch. | 2777 // Named double-private constructor mismatch. |
| 2778 mangled_name = String::New("foo@12345.named@12345"); | 2778 mangled_name = String::New("foo@12345.named@12345"); |
| 2779 bare_name = String::New("foo.name"); | 2779 bare_name = String::New("foo.name"); |
| 2780 EXPECT(!EqualsIgnoringPrivate(mangled_name, bare_name)); | 2780 EXPECT(!EqualsIgnoringPrivate(mangled_name, bare_name)); |
| 2781 } | 2781 } |
| 2782 | 2782 |
| 2783 | 2783 |
| 2784 TEST_CASE(ArrayNew_Overflow_Crash) { |
| 2785 Array::Handle(Array::New(Array::kMaxElements + 1)); |
| 2786 } |
| 2787 |
| 2788 |
| 2784 #endif // defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64). | 2789 #endif // defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64). |
| 2785 | 2790 |
| 2786 } // namespace dart | 2791 } // namespace dart |
| OLD | NEW |