@@ -40,7 +40,7 @@ opfunc_is_true_jmp_down (opcode_t opdata, /**< operation data */
4040
4141 if (ecma_is_completion_value_normal_true (to_bool_completion))
4242 {
43- JERRY_ASSERT (offset != 0 && (( uint32_t ) int_data->pos + offset < MAX_OPCODES) );
43+ JERRY_ASSERT (( uint32_t ) int_data->pos + offset < MAX_OPCODES);
4444 int_data->pos = (opcode_counter_t ) (int_data->pos + offset);
4545 }
4646 else
@@ -73,7 +73,7 @@ opfunc_is_true_jmp_up (opcode_t opdata, /**< operation data */
7373
7474 if (ecma_is_completion_value_normal_true (to_bool_completion))
7575 {
76- JERRY_ASSERT (offset != 0 && (uint32_t ) int_data->pos >= offset);
76+ JERRY_ASSERT ((uint32_t ) int_data->pos >= offset);
7777 int_data->pos = (opcode_counter_t ) (int_data->pos - offset);
7878 }
7979 else
@@ -112,7 +112,7 @@ opfunc_is_false_jmp_down (opcode_t opdata, /**< operation data */
112112
113113 if (!ecma_is_completion_value_normal_true (to_bool_completion))
114114 {
115- JERRY_ASSERT (offset != 0 && (( uint32_t ) int_data->pos + offset < MAX_OPCODES) );
115+ JERRY_ASSERT (( uint32_t ) int_data->pos + offset < MAX_OPCODES);
116116 int_data->pos = (opcode_counter_t ) (int_data->pos + offset);
117117 }
118118 else
@@ -145,7 +145,7 @@ opfunc_is_false_jmp_up (opcode_t opdata, /**< operation data */
145145
146146 if (!ecma_is_completion_value_normal_true (to_bool_completion))
147147 {
148- JERRY_ASSERT (offset != 0 && (uint32_t ) int_data->pos >= offset);
148+ JERRY_ASSERT ((uint32_t ) int_data->pos >= offset);
149149 int_data->pos = (opcode_counter_t ) (int_data->pos - offset);
150150 }
151151 else
@@ -173,7 +173,7 @@ opfunc_jmp_down (opcode_t opdata, /**< operation data */
173173 const opcode_counter_t offset = calc_opcode_counter_from_idx_idx (opdata.data .jmp_down .opcode_1 ,
174174 opdata.data .jmp_down .opcode_2 );
175175
176- JERRY_ASSERT (offset != 0 && ((uint32_t ) int_data->pos + offset < MAX_OPCODES));
176+ JERRY_ASSERT (((uint32_t ) int_data->pos + offset < MAX_OPCODES));
177177
178178 int_data->pos = (opcode_counter_t ) (int_data->pos + offset);
179179
@@ -192,7 +192,7 @@ opfunc_jmp_up (opcode_t opdata, /**< operation data */
192192{
193193 const opcode_counter_t offset = calc_opcode_counter_from_idx_idx (opdata.data .jmp_up .opcode_1 ,
194194 opdata.data .jmp_up .opcode_2 );
195- JERRY_ASSERT (offset != 0 && (uint32_t ) int_data->pos >= offset);
195+ JERRY_ASSERT ((uint32_t ) int_data->pos >= offset);
196196
197197 int_data->pos = (opcode_counter_t ) (int_data->pos - offset);
198198
0 commit comments