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/v8.h" |
8 | 8 |
9 #include "src/api-natives.h" | 9 #include "src/api-natives.h" |
10 #include "src/arguments.h" | 10 #include "src/arguments.h" |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 } else if (status >= UBRK_WORD_LETTER && status < UBRK_WORD_LETTER_LIMIT) { | 738 } else if (status >= UBRK_WORD_LETTER && status < UBRK_WORD_LETTER_LIMIT) { |
739 return *isolate->factory()->NewStringFromStaticChars("letter"); | 739 return *isolate->factory()->NewStringFromStaticChars("letter"); |
740 } else if (status >= UBRK_WORD_KANA && status < UBRK_WORD_KANA_LIMIT) { | 740 } else if (status >= UBRK_WORD_KANA && status < UBRK_WORD_KANA_LIMIT) { |
741 return *isolate->factory()->NewStringFromStaticChars("kana"); | 741 return *isolate->factory()->NewStringFromStaticChars("kana"); |
742 } else if (status >= UBRK_WORD_IDEO && status < UBRK_WORD_IDEO_LIMIT) { | 742 } else if (status >= UBRK_WORD_IDEO && status < UBRK_WORD_IDEO_LIMIT) { |
743 return *isolate->factory()->NewStringFromStaticChars("ideo"); | 743 return *isolate->factory()->NewStringFromStaticChars("ideo"); |
744 } else { | 744 } else { |
745 return *isolate->factory()->NewStringFromStaticChars("unknown"); | 745 return *isolate->factory()->NewStringFromStaticChars("unknown"); |
746 } | 746 } |
747 } | 747 } |
748 } | 748 } // namespace internal |
749 } // namespace v8::internal | 749 } // namespace v8 |
750 | 750 |
751 #endif // V8_I18N_SUPPORT | 751 #endif // V8_I18N_SUPPORT |
OLD | NEW |