Bug 992472 - Remove self-hosting macros ARRAY_PUSH and ARRAY_SLICE. r=efaust

This commit is contained in:
Till Schneidereit 2016-01-20 16:18:30 +01:00
parent 3192733cf9
commit 2fcb6a35ed

View File

@ -19,12 +19,6 @@
#define FUN_APPLY(FUN, RECEIVER, ARGS) \ #define FUN_APPLY(FUN, RECEIVER, ARGS) \
callFunction(std_Function_apply, FUN, RECEIVER, ARGS) callFunction(std_Function_apply, FUN, RECEIVER, ARGS)
// Unforgeable versions of ARRAY.push(ELEMENT) and ARRAY.slice.
#define ARRAY_PUSH(ARRAY, ELEMENT) \
callFunction(std_Array_push, ARRAY, ELEMENT);
#define ARRAY_SLICE(ARRAY, ELEMENT) \
callFunction(std_Array_slice, ARRAY, ELEMENT);
// Property descriptor attributes. // Property descriptor attributes.
#define ATTR_ENUMERABLE 0x01 #define ATTR_ENUMERABLE 0x01
#define ATTR_CONFIGURABLE 0x02 #define ATTR_CONFIGURABLE 0x02