aboutsummaryrefslogtreecommitdiff
path: root/jerry-core/ecma/builtin-objects/ecma-builtin-evalerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'jerry-core/ecma/builtin-objects/ecma-builtin-evalerror.c')
-rw-r--r--jerry-core/ecma/builtin-objects/ecma-builtin-evalerror.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-evalerror.c b/jerry-core/ecma/builtin-objects/ecma-builtin-evalerror.c
index 29e71ecb..3804420d 100644
--- a/jerry-core/ecma/builtin-objects/ecma-builtin-evalerror.c
+++ b/jerry-core/ecma/builtin-objects/ecma-builtin-evalerror.c
@@ -14,17 +14,18 @@
*/
#include "ecma-alloc.h"
+#include "ecma-builtin-helpers.h"
#include "ecma-builtins.h"
#include "ecma-conversion.h"
#include "ecma-exceptions.h"
+#include "ecma-function-object.h"
#include "ecma-gc.h"
#include "ecma-globals.h"
#include "ecma-helpers.h"
-#include "ecma-builtin-helpers.h"
#include "ecma-objects.h"
-#include "ecma-function-object.h"
-#include "jrt.h"
+
#include "jcontext.h"
+#include "jrt.h"
#if JERRY_BUILTIN_ERRORS
@@ -32,7 +33,7 @@
#include "ecma-builtins-internal.h"
#define BUILTIN_INC_HEADER_NAME "ecma-builtin-evalerror.inc.h"
-#define BUILTIN_UNDERSCORED_ID eval_error
+#define BUILTIN_UNDERSCORED_ID eval_error
#include "ecma-builtin-internal-routines-template.inc.h"
/** \addtogroup ecma ECMA
@@ -69,8 +70,8 @@ ecma_builtin_eval_error_dispatch_construct (const ecma_value_t *arguments_list_p
#if !JERRY_ESNEXT
return ecma_builtin_eval_error_dispatch_call (arguments_list_p, arguments_list_len);
#else /* JERRY_ESNEXT */
- ecma_object_t *proto_p = ecma_op_get_prototype_from_constructor (JERRY_CONTEXT (current_new_target_p),
- ECMA_BUILTIN_ID_EVAL_ERROR_PROTOTYPE);
+ ecma_object_t *proto_p =
+ ecma_op_get_prototype_from_constructor (JERRY_CONTEXT (current_new_target_p), ECMA_BUILTIN_ID_EVAL_ERROR_PROTOTYPE);
if (proto_p == NULL)
{