Arranging JERRY_UNIMPLEMENTED macro usages and adding comments to each invocation of the macro.
This commit is contained in:
@@ -39,7 +39,7 @@ ecma_new_standard_error (ecma_standard_error_t error_type) /**< native error typ
|
||||
/* SyntaxError should be treated as an early error */
|
||||
JERRY_ASSERT (error_type != ECMA_ERROR_SYNTAX);
|
||||
|
||||
JERRY_UNIMPLEMENTED_REF_UNUSED_VARS(error_type);
|
||||
JERRY_UNIMPLEMENTED_REF_UNUSED_VARS("Built-in error objects are not implemented.", error_type);
|
||||
} /* ecma_new_standard_error */
|
||||
|
||||
/**
|
||||
|
||||
@@ -449,7 +449,7 @@ ecma_op_function_has_instance (ecma_object_t *func_obj_p, /**< Function object *
|
||||
{
|
||||
JERRY_ASSERT (ecma_get_object_type (func_obj_p) == ECMA_OBJECT_TYPE_BOUND_FUNCTION);
|
||||
|
||||
JERRY_UNIMPLEMENTED ();
|
||||
JERRY_UNIMPLEMENTED ("Bound functions are not implemented.");
|
||||
}
|
||||
} /* ecma_op_function_has_instance */
|
||||
|
||||
@@ -557,7 +557,7 @@ ecma_op_function_call (ecma_object_t *func_obj_p, /**< Function object */
|
||||
{
|
||||
JERRY_ASSERT(ecma_get_object_type (func_obj_p) == ECMA_OBJECT_TYPE_BOUND_FUNCTION);
|
||||
|
||||
JERRY_UNIMPLEMENTED();
|
||||
JERRY_UNIMPLEMENTED ("Bound functions are not implemented.");
|
||||
}
|
||||
} /* ecma_op_function_call */
|
||||
|
||||
@@ -654,7 +654,7 @@ ecma_op_function_construct (ecma_object_t *func_obj_p, /**< Function object */
|
||||
{
|
||||
JERRY_ASSERT(ecma_get_object_type (func_obj_p) == ECMA_OBJECT_TYPE_BOUND_FUNCTION);
|
||||
|
||||
JERRY_UNIMPLEMENTED();
|
||||
JERRY_UNIMPLEMENTED ("Bound functions are not implemented.");
|
||||
}
|
||||
} /* ecma_op_function_construct */
|
||||
/**
|
||||
@@ -779,7 +779,7 @@ ecma_op_get_throw_type_error (void)
|
||||
{
|
||||
TODO(Create [[ThrowTypeError]] during engine initialization and return it from here);
|
||||
|
||||
JERRY_UNIMPLEMENTED();
|
||||
JERRY_UNIMPLEMENTED("Type error thrower is not implemented.");
|
||||
} /* ecma_op_get_throw_type_error */
|
||||
|
||||
/**
|
||||
|
||||
@@ -68,7 +68,7 @@ ecma_op_object_get (ecma_object_t *obj_p, /**< the object */
|
||||
|
||||
case ECMA_OBJECT_TYPE_HOST:
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
JERRY_UNIMPLEMENTED("Host objects support is not implemented.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ ecma_op_object_get_own_property (ecma_object_t *obj_p, /**< the object */
|
||||
|
||||
case ECMA_OBJECT_TYPE_HOST:
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
JERRY_UNIMPLEMENTED("Host objects support is not implemented.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -176,7 +176,7 @@ ecma_op_object_get_property (ecma_object_t *obj_p, /**< the object */
|
||||
|
||||
case ECMA_OBJECT_TYPE_HOST:
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
JERRY_UNIMPLEMENTED("Host objects support is not implemented.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -219,7 +219,7 @@ ecma_op_object_put (ecma_object_t *obj_p, /**< the object */
|
||||
|
||||
case ECMA_OBJECT_TYPE_HOST:
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
JERRY_UNIMPLEMENTED("Host objects support is not implemented.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -260,7 +260,7 @@ ecma_op_object_can_put (ecma_object_t *obj_p, /**< the object */
|
||||
|
||||
case ECMA_OBJECT_TYPE_HOST:
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
JERRY_UNIMPLEMENTED("Host objects support is not implemented.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -301,7 +301,7 @@ ecma_op_object_has_property (ecma_object_t *obj_p, /**< the object */
|
||||
|
||||
case ECMA_OBJECT_TYPE_HOST:
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
JERRY_UNIMPLEMENTED("Host objects support is not implemented.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -347,7 +347,7 @@ ecma_op_object_delete (ecma_object_t *obj_p, /**< the object */
|
||||
|
||||
case ECMA_OBJECT_TYPE_HOST:
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
JERRY_UNIMPLEMENTED("Host objects support is not implemented.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -387,7 +387,7 @@ ecma_op_object_default_value (ecma_object_t *obj_p, /**< the object */
|
||||
|
||||
case ECMA_OBJECT_TYPE_HOST:
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
JERRY_UNIMPLEMENTED("Host objects support is not implemented.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -438,7 +438,7 @@ ecma_op_object_define_own_property (ecma_object_t *obj_p, /**< the object */
|
||||
|
||||
case ECMA_OBJECT_TYPE_HOST:
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
JERRY_UNIMPLEMENTED("Host objects support is not implemented.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -479,7 +479,7 @@ ecma_op_object_has_instance (ecma_object_t *obj_p, /**< the object */
|
||||
|
||||
case ECMA_OBJECT_TYPE_HOST:
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
JERRY_UNIMPLEMENTED("Host objects support is not implemented.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user