OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 #ifdef V8_I18N_SUPPORT | 6 #ifdef V8_I18N_SUPPORT |
7 #include "src/runtime/runtime-utils.h" | 7 #include "src/runtime/runtime-utils.h" |
8 | 8 |
9 #include "src/api.h" | 9 #include "src/api.h" |
10 #include "src/api-natives.h" | 10 #include "src/api-natives.h" |
11 #include "src/arguments.h" | 11 #include "src/arguments.h" |
12 #include "src/factory.h" | 12 #include "src/factory.h" |
13 #include "src/i18n.h" | 13 #include "src/i18n.h" |
| 14 #include "src/isolate-inl.h" |
14 #include "src/messages.h" | 15 #include "src/messages.h" |
15 | 16 |
16 #include "unicode/brkiter.h" | 17 #include "unicode/brkiter.h" |
17 #include "unicode/calendar.h" | 18 #include "unicode/calendar.h" |
18 #include "unicode/coll.h" | 19 #include "unicode/coll.h" |
19 #include "unicode/curramt.h" | 20 #include "unicode/curramt.h" |
20 #include "unicode/datefmt.h" | 21 #include "unicode/datefmt.h" |
21 #include "unicode/dcfmtsym.h" | 22 #include "unicode/dcfmtsym.h" |
22 #include "unicode/decimfmt.h" | 23 #include "unicode/decimfmt.h" |
23 #include "unicode/dtfmtsym.h" | 24 #include "unicode/dtfmtsym.h" |
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 } else if (status >= UBRK_WORD_IDEO && status < UBRK_WORD_IDEO_LIMIT) { | 744 } else if (status >= UBRK_WORD_IDEO && status < UBRK_WORD_IDEO_LIMIT) { |
744 return *isolate->factory()->NewStringFromStaticChars("ideo"); | 745 return *isolate->factory()->NewStringFromStaticChars("ideo"); |
745 } else { | 746 } else { |
746 return *isolate->factory()->NewStringFromStaticChars("unknown"); | 747 return *isolate->factory()->NewStringFromStaticChars("unknown"); |
747 } | 748 } |
748 } | 749 } |
749 } // namespace internal | 750 } // namespace internal |
750 } // namespace v8 | 751 } // namespace v8 |
751 | 752 |
752 #endif // V8_I18N_SUPPORT | 753 #endif // V8_I18N_SUPPORT |
OLD | NEW |