зеркало из https://github.com/mozilla/gecko-dev.git
Bug 992472 - Remove self-hosting macros ARRAY_PUSH and ARRAY_SLICE. r=efaust
This commit is contained in:
Родитель
e8d36639be
Коммит
75cb75c01e
|
@ -19,12 +19,6 @@
|
|||
#define FUN_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.
|
||||
#define ATTR_ENUMERABLE 0x01
|
||||
#define ATTR_CONFIGURABLE 0x02
|
||||
|
|
Загрузка…
Ссылка в новой задаче