| 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/globals.h" | 5 #include "platform/globals.h" |
| 6 | 6 |
| 7 #include "vm/assembler.h" | 7 #include "vm/assembler.h" |
| 8 #include "vm/class_finalizer.h" | 8 #include "vm/class_finalizer.h" |
| 9 #include "vm/dart_api_impl.h" | 9 #include "vm/dart_api_impl.h" |
| 10 #include "vm/dart_entry.h" | 10 #include "vm/dart_entry.h" |
| (...skipping 4761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4772 | 4772 |
| 4773 uint16_t characters2[] = | 4773 uint16_t characters2[] = |
| 4774 { 'a', '\n', '\f', '\b', '\t', '\v', '\r', '\\', '$', 'z' }; | 4774 { 'a', '\n', '\f', '\b', '\t', '\v', '\r', '\\', '$', 'z' }; |
| 4775 intptr_t len2 = ARRAY_SIZE(characters2); | 4775 intptr_t len2 = ARRAY_SIZE(characters2); |
| 4776 | 4776 |
| 4777 const String& str2 = String::Handle( | 4777 const String& str2 = String::Handle( |
| 4778 ExternalTwoByteString::New(characters2, len2, NULL, NULL, Heap::kNew)); | 4778 ExternalTwoByteString::New(characters2, len2, NULL, NULL, Heap::kNew)); |
| 4779 const String* data[3] = { &str1, &Symbols::Dot(), &str2 }; | 4779 const String* data[3] = { &str1, &Symbols::Dot(), &str2 }; |
| 4780 CheckConcatAll(data, 3); | 4780 CheckConcatAll(data, 3); |
| 4781 } | 4781 } |
| 4782 |
| 4783 { |
| 4784 const String& empty = String::Handle(String::New("")); |
| 4785 const String* data[3] = { &Symbols::FallThroughError(), |
| 4786 &empty, |
| 4787 &Symbols::isPaused() }; |
| 4788 CheckConcatAll(data, 3); |
| 4789 } |
| 4782 } | 4790 } |
| 4783 | 4791 |
| 4784 } // namespace dart | 4792 } // namespace dart |
| OLD | NEW |