Remove unnecessary check from VM_OC_NOT (#2622)
This patch removes the ECMA_IS_VALUE_ERROR check from VM_OC_NOT, since the general toBoolean operation cannot throw an exception. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
committed by
László Langó
parent
24817b27f9
commit
6dfa4efbfb
@@ -78,9 +78,6 @@ opfunc_in (ecma_value_t left_value, ecma_value_t right_value);
|
||||
ecma_value_t
|
||||
opfunc_instanceof (ecma_value_t left_value, ecma_value_t right_value);
|
||||
|
||||
ecma_value_t
|
||||
opfunc_logical_not (ecma_value_t left_value);
|
||||
|
||||
ecma_value_t
|
||||
opfunc_typeof (ecma_value_t left_value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user