mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Remove unnecessary assertion
Fix for: * ICE: Assertion '!is_equal' failed at jerry-core/ecma/operations/ecma-lex-env.cpp(ecma_op_set_mutable_binding):219 Related issue: #879 JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
parent
1dde538224
commit
7a7b15c23a
@ -216,8 +216,6 @@ ecma_op_set_mutable_binding (ecma_object_t *lex_env_p, /**< lexical environment
|
|||||||
}
|
}
|
||||||
ecma_deref_ecma_string (arguments_magic_string_p);
|
ecma_deref_ecma_string (arguments_magic_string_p);
|
||||||
|
|
||||||
JERRY_ASSERT (!is_equal);
|
|
||||||
|
|
||||||
if (is_equal)
|
if (is_equal)
|
||||||
{
|
{
|
||||||
return ecma_make_throw_obj_completion_value (ecma_builtin_get (ECMA_BUILTIN_ID_COMPACT_PROFILE_ERROR));
|
return ecma_make_throw_obj_completion_value (ecma_builtin_get (ECMA_BUILTIN_ID_COMPACT_PROFILE_ERROR));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user