| Index: src/runtime.h
|
| diff --git a/src/runtime.h b/src/runtime.h
|
| index 4872ab51ccbd1e245a1c5a3f18b05d0b286ba69b..62c52a7de061d5d0384ac44ac368054bcac86d91 100644
|
| --- a/src/runtime.h
|
| +++ b/src/runtime.h
|
| @@ -179,7 +179,6 @@ namespace internal {
|
| F(Math_asin, 1, 1) \
|
| F(Math_atan, 1, 1) \
|
| F(Math_atan2, 2, 1) \
|
| - F(Math_ceil, 1, 1) \
|
| F(Math_cos, 1, 1) \
|
| F(Math_exp, 1, 1) \
|
| F(Math_floor, 1, 1) \
|
| @@ -190,7 +189,6 @@ namespace internal {
|
| F(Math_sin, 1, 1) \
|
| F(Math_sqrt, 1, 1) \
|
| F(Math_tan, 1, 1) \
|
| - F(PopulateTrigonometricTable, 3, 1) \
|
| \
|
| /* Regular expressions */ \
|
| F(RegExpCompile, 3, 1) \
|
| @@ -301,7 +299,8 @@ namespace internal {
|
| /* Literals */ \
|
| F(MaterializeRegExpLiteral, 4, 1)\
|
| F(CreateObjectLiteral, 4, 1) \
|
| - F(CreateArrayLiteral, 3, 1) \
|
| + F(CreateArrayLiteral, 4, 1) \
|
| + F(CreateArrayLiteralStubBailout, 3, 1) \
|
| \
|
| /* Harmony generators */ \
|
| F(CreateJSGeneratorObject, 0, 1) \
|
| @@ -623,7 +622,6 @@ namespace internal {
|
| F(OneByteSeqStringSetChar, 3, 1) \
|
| F(TwoByteSeqStringSetChar, 3, 1) \
|
| F(ObjectEquals, 2, 1) \
|
| - F(RandomHeapNumber, 0, 1) \
|
| F(IsObject, 1, 1) \
|
| F(IsFunction, 1, 1) \
|
| F(IsUndetectableObject, 1, 1) \
|
| @@ -831,6 +829,22 @@ class Runtime : public AllStatic {
|
| Isolate* isolate,
|
| JSArrayBuffer* phantom_array_buffer);
|
|
|
| + enum TypedArrayId {
|
| + // arrayIds below should be synchromized with typedarray.js natives.
|
| + ARRAY_ID_UINT8 = 1,
|
| + ARRAY_ID_INT8 = 2,
|
| + ARRAY_ID_UINT16 = 3,
|
| + ARRAY_ID_INT16 = 4,
|
| + ARRAY_ID_UINT32 = 5,
|
| + ARRAY_ID_INT32 = 6,
|
| + ARRAY_ID_FLOAT32 = 7,
|
| + ARRAY_ID_FLOAT64 = 8,
|
| + ARRAY_ID_UINT8C = 9
|
| + };
|
| +
|
| + static void ArrayIdToTypeAndSize(int array_id,
|
| + ExternalArrayType *type, size_t *element_size);
|
| +
|
| // Helper functions used stubs.
|
| static void PerformGC(Object* result, Isolate* isolate);
|
|
|
|
|