99b061ad10
In `ecma-helpers.c` there was an incorrect macro guard which tested the `JERRY_ES2015` feature but the `JERRY_ES2015_CLASS` feature should be tested instead. Profile options for testing: * JERRY_ES2015=0 * JERRY_ES2015_CLASS=1 * JERRY_ES2015_OBJECT_INITIALIZER=1 JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com