diff options
Diffstat (limited to 'jerry-core/vm/vm.c')
-rw-r--r-- | jerry-core/vm/vm.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/jerry-core/vm/vm.c b/jerry-core/vm/vm.c index 77f722ca..9a382055 100644 --- a/jerry-core/vm/vm.c +++ b/jerry-core/vm/vm.c @@ -1740,14 +1740,6 @@ vm_loop (vm_frame_ctx_t *frame_ctx_p) /**< frame context */ result = ecma_raise_type_error (ECMA_ERR_MSG ("Constant bindings cannot be reassigned.")); goto error; } - case VM_OC_THROW_SYNTAX_ERROR: - { - ecma_string_t *msg_p = ecma_get_string_from_value (left_value); - ecma_object_t *error_obj_p = ecma_new_standard_error (ECMA_ERROR_SYNTAX, msg_p); - jcontext_raise_exception (ecma_make_object_value (error_obj_p)); - result = ECMA_VALUE_ERROR; - goto error; - } case VM_OC_COPY_TO_GLOBAL: { uint32_t literal_index; |