| Index: src/runtime.h
|
| diff --git a/src/runtime.h b/src/runtime.h
|
| index 17e3b43561b34383f8c4fca668654fe848ebdb51..c9530f4a8c3fe67bf9b03a6254b42022f3ae8b1c 100644
|
| --- a/src/runtime.h
|
| +++ b/src/runtime.h
|
| @@ -361,6 +361,7 @@ namespace internal {
|
| F(ArrayBufferSliceImpl, 3, 1) \
|
| \
|
| F(TypedArrayInitialize, 5, 1) \
|
| + F(TypedArrayInitializeFromArrayLike, 4, 1) \
|
| F(TypedArrayGetBuffer, 1, 1) \
|
| F(TypedArrayGetByteLength, 1, 1) \
|
| F(TypedArrayGetByteOffset, 1, 1) \
|
| @@ -533,6 +534,21 @@ namespace internal {
|
| #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F)
|
| #endif
|
|
|
| +
|
| +#ifdef V8_I18N_SUPPORT
|
| +#define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \
|
| + /* i18n support */ \
|
| + /* Standalone, helper methods. */ \
|
| + F(CanonicalizeLanguageTag, 1, 1) \
|
| + F(AvailableLocalesOf, 1, 1) \
|
| + F(GetDefaultICULocale, 0, 1) \
|
| + F(GetLanguageTagVariants, 1, 1) \
|
| +
|
| +#else
|
| +#define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F)
|
| +#endif
|
| +
|
| +
|
| #ifdef DEBUG
|
| #define RUNTIME_FUNCTION_LIST_DEBUG(F) \
|
| /* Testing */ \
|
| @@ -550,7 +566,8 @@ namespace internal {
|
| RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \
|
| RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
|
| RUNTIME_FUNCTION_LIST_DEBUG(F) \
|
| - RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F)
|
| + RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \
|
| + RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F)
|
|
|
| // ----------------------------------------------------------------------------
|
| // INLINE_FUNCTION_LIST defines all inlined functions accessed
|
| @@ -784,7 +801,8 @@ class Runtime : public AllStatic {
|
| static bool SetupArrayBufferAllocatingData(
|
| Isolate* isolate,
|
| Handle<JSArrayBuffer> array_buffer,
|
| - size_t allocated_length);
|
| + size_t allocated_length,
|
| + bool initialize = true);
|
|
|
| static void FreeArrayBuffer(
|
| Isolate* isolate,
|
|
|