

###### JerryScript revision
9900cac

###### Build platform
Darwin-19.6.0-x86_64-i386-64bit

###### Build steps
```
Build command:
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python \
        /Users/lygstate/work/typescript/jerryscript/tools/build.py \
        --lto=off \
        --profile=es.next \
        --stack-limit=96 \
        --gc-mark-limit=16 \
        --mem-stress-test=on \
        --line-info=on \
        --error-messages=on \
        --builddir=/Users/lygstate/work/typescript/jerryscript/build/tests/jerry_tests-es.next \
        --install=/Users/lygstate/work/typescript/jerryscript/build/tests/jerry_tests-es.next/local

Test command:
TZ='UTC' \
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python \
        /Users/lygstate/work/typescript/jerryscript/tools/runners/run-test-suite.py \
        --engine \
        /Users/lygstate/work/typescript/jerryscript/build/tests/jerry_tests-es.next/local/bin/jerry \
        --test-dir \
        /Users/lygstate/work/typescript/jerryscript/tests/jerry \
        --skip-list=es5.1/
```

regression-test-issue-3785.js deadloop in osx with release build
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title : regression-test-issue-3785.js deadloop in osx with release build
Issue date:

--- start body ---


###### JerryScript revision
9900cac

###### Build platform
Darwin-19.6.0-x86_64-i386-64bit

###### Build steps
```
Build command:
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python \
        /Users/lygstate/work/typescript/jerryscript/tools/build.py \
        --lto=off \
        --profile=es.next \
        --stack-limit=96 \
        --gc-mark-limit=16 \
        --mem-stress-test=on \
        --line-info=on \
        --error-messages=on \
        --builddir=/Users/lygstate/work/typescript/jerryscript/build/tests/jerry_tests-es.next \
        --install=/Users/lygstate/work/typescript/jerryscript/build/tests/jerry_tests-es.next/local

Test command:
TZ='UTC' \
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python \
        /Users/lygstate/work/typescript/jerryscript/tools/runners/run-test-suite.py \
        --engine \
        /Users/lygstate/work/typescript/jerryscript/build/tests/jerry_tests-es.next/local/bin/jerry \
        --test-dir \
        /Users/lygstate/work/typescript/jerryscript/tests/jerry \
        --skip-list=es5.1/
```

--- end body ---
