mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 992472 - Remove self-hosting macros ARRAY_PUSH and ARRAY_SLICE. r=efaust
This commit is contained in:
parent
e8d36639be
commit
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
|
||||
|
Loading…
Reference in New Issue
Block a user