Index: src/macros.py |
diff --git a/src/macros.py b/src/macros.py |
index 63b0b29489c28bb1df526154814120a01eb6a36c..278450ecc45d37ff478510fb250633111fbf09d3 100644 |
--- a/src/macros.py |
+++ b/src/macros.py |
@@ -150,6 +150,7 @@ macro TO_INTEGER_FOR_SIDE_EFFECT(arg) = (%_IsSmi(%IS_VAR(arg)) ? arg : ToNumber( |
macro TO_INTEGER_MAP_MINUS_ZERO(arg) = (%_IsSmi(%IS_VAR(arg)) ? arg : %NumberToIntegerMapMinusZero(ToNumber(arg))); |
macro TO_INT32(arg) = (arg | 0); |
macro TO_UINT32(arg) = (arg >>> 0); |
+macro TO_STRING(arg) = (%_ToString(arg)); |
macro TO_STRING_INLINE(arg) = (IS_STRING(%IS_VAR(arg)) ? arg : $nonStringToString(arg)); |
macro TO_NUMBER_INLINE(arg) = (IS_NUMBER(%IS_VAR(arg)) ? arg : $nonNumberToNumber(arg)); |
macro TO_OBJECT(arg) = (%_ToObject(arg)); |