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/v8.h" | 7 #include "src/runtime/runtime-utils.h" |
8 | 8 |
| 9 #include "src/api.h" |
9 #include "src/api-natives.h" | 10 #include "src/api-natives.h" |
10 #include "src/arguments.h" | 11 #include "src/arguments.h" |
| 12 #include "src/factory.h" |
11 #include "src/i18n.h" | 13 #include "src/i18n.h" |
12 #include "src/messages.h" | 14 #include "src/messages.h" |
13 #include "src/runtime/runtime-utils.h" | |
14 | 15 |
15 #include "unicode/brkiter.h" | 16 #include "unicode/brkiter.h" |
16 #include "unicode/calendar.h" | 17 #include "unicode/calendar.h" |
17 #include "unicode/coll.h" | 18 #include "unicode/coll.h" |
18 #include "unicode/curramt.h" | 19 #include "unicode/curramt.h" |
19 #include "unicode/datefmt.h" | 20 #include "unicode/datefmt.h" |
20 #include "unicode/dcfmtsym.h" | 21 #include "unicode/dcfmtsym.h" |
21 #include "unicode/decimfmt.h" | 22 #include "unicode/decimfmt.h" |
22 #include "unicode/dtfmtsym.h" | 23 #include "unicode/dtfmtsym.h" |
23 #include "unicode/dtptngen.h" | 24 #include "unicode/dtptngen.h" |
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
742 } else if (status >= UBRK_WORD_IDEO && status < UBRK_WORD_IDEO_LIMIT) { | 743 } else if (status >= UBRK_WORD_IDEO && status < UBRK_WORD_IDEO_LIMIT) { |
743 return *isolate->factory()->NewStringFromStaticChars("ideo"); | 744 return *isolate->factory()->NewStringFromStaticChars("ideo"); |
744 } else { | 745 } else { |
745 return *isolate->factory()->NewStringFromStaticChars("unknown"); | 746 return *isolate->factory()->NewStringFromStaticChars("unknown"); |
746 } | 747 } |
747 } | 748 } |
748 } // namespace internal | 749 } // namespace internal |
749 } // namespace v8 | 750 } // namespace v8 |
750 | 751 |
751 #endif // V8_I18N_SUPPORT | 752 #endif // V8_I18N_SUPPORT |
OLD | NEW |