Index: src/macros.py |
diff --git a/src/macros.py b/src/macros.py |
index 49b2cad8bdca3ae9457286b9f7646fbb0c995426..2cf93724102a39c5a8bf3ec1fcf8827b58a72d07 100644 |
--- a/src/macros.py |
+++ b/src/macros.py |
@@ -159,14 +159,11 @@ macro SHOULD_CREATE_WRAPPER(functionName, receiver) = (!IS_SPEC_OBJECT(receiver) |
macro HAS_INDEX(array, index, is_array) = ((is_array && %_HasFastPackedElements(%IS_VAR(array))) ? (index < array.length) : (index in array)); |
# Private names. |
-macro GLOBAL_PRIVATE(name) = (%CreateGlobalPrivateSymbol(name)); |
-macro NEW_PRIVATE(name) = (%CreatePrivateSymbol(name)); |
macro IS_PRIVATE(sym) = (%SymbolIsPrivate(sym)); |
macro HAS_PRIVATE(obj, sym) = (%HasOwnProperty(obj, sym)); |
macro HAS_DEFINED_PRIVATE(obj, sym) = (!IS_UNDEFINED(obj[sym])); |
macro GET_PRIVATE(obj, sym) = (obj[sym]); |
macro SET_PRIVATE(obj, sym, val) = (obj[sym] = val); |
-macro DELETE_PRIVATE(obj, sym) = (delete obj[sym]); |
# Constants. The compiler constant folds them. |
define NAN = $NaN; |