From cf098ad4ac8c548417aebb9625e61003476c0a7f Mon Sep 17 00:00:00 2001 From: Ruben Ayrapetyan Date: Thu, 14 Aug 2014 21:36:33 +0400 Subject: [PATCH] Adding missing 'break's in ecma_op_{create,initialize}_immutable_binding. --- src/libecmaoperations/ecma-lex-env.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libecmaoperations/ecma-lex-env.c b/src/libecmaoperations/ecma-lex-env.c index e2e80706a..f9192a1f9 100644 --- a/src/libecmaoperations/ecma-lex-env.c +++ b/src/libecmaoperations/ecma-lex-env.c @@ -439,6 +439,8 @@ ecma_op_create_immutable_binding (ecma_object_t *lex_env_p, /**< lexical environ prop_p->u.named_data_property.value.value_type = ECMA_TYPE_SIMPLE; prop_p->u.named_data_property.value.value = ECMA_SIMPLE_VALUE_EMPTY; + + break; } case ECMA_LEXICAL_ENVIRONMENT_OBJECTBOUND: { @@ -476,6 +478,8 @@ ecma_op_initialize_immutable_binding (ecma_object_t *lex_env_p, /**< lexical env prop_p->u.named_data_property.value = ecma_copy_value (value, false); ecma_gc_update_may_ref_younger_object_flag_by_value (lex_env_p, value); + + break; } case ECMA_LEXICAL_ENVIRONMENT_OBJECTBOUND: {