Tóth Béla
69ae9be8d2
Reduce Code Smell issues ( #221 )
...
Rewamped a little bit of code, reported by SonarCloud for code smell.
Redudant parenthesis, and empty if statement code blocks.
Signed-off-by: Bela Toth tbela@inf.u-szeged.hu
2019-05-08 13:57:15 +09:00
Hyukwoo Park
2b95dc90bd
Set the result value of SandBox::run to undefined when exception occurred ( #152 )
...
* when exception occurred, the result value of SandBox::run will never be used
* undefined value is allocated to avoid dereferencing of null pointer
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
2019-03-20 13:31:16 +09:00
Hyukwoo Park
d5eba8f75b
Fix conversion to String for result value of SandBox run ( #149 )
...
* implement toStringWithoutException method not to throw any exception while converting to string value
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
2019-03-15 20:09:11 +09:00
Peter Marki
9a313f36bf
Handle exceptions thrown by toString() when trying to convert an uncaught error ( #42 )
...
Fixes #36
Signed-off-by: Peter Marki marpeter@inf.u-szeged.hu
2019-01-10 17:38:57 +09:00
김승현/Tizen Platform Lab(SR)/Engineer/삼성전자
d66c4b900b
Enhance developer experience ( #98 )
...
* Generate more detailed information(+ add related source code info)
* Fix source code line error on exception
* Add DUMP_ERROR_IN_TRY_CATCH option
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2018-06-19 18:04:19 +09:00
김승현/Tizen Platform Lab(SR)/Engineer/삼성전자
470d1374a8
Implement lazy LOC computing when got exception for performance ( #88 )
...
* update windows build stuffs
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2018-05-31 15:31:37 +09:00
이승수/Tizen Platform Lab(SR)/Senior Engineer/삼성전자
28de827199
Change default license to LGPL license ( #60 )
...
* Update build spec file
* Add License files
Signed-off-by: Seungsoo Lee <seungsoo47.lee@samsung.com>
2018-03-07 18:38:28 +09:00
김승현/Web Platform Lab(S/W센터)/Engineer/삼성전자
03b743d8fd
1. Implement stack property in ErrorObject ( #5 )
...
2. Fix new operation bug with bound function
3. Fix parameter copy bug
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2017-06-21 20:21:38 +09:00
Youngil Choi
e02af7daf8
Add License Clauses
...
Signed-off-by: Youngil Choi <duddlf.choi@samsung.com>
2017-03-10 18:06:20 +09:00
seonghyun kim
e362acb82d
1. store thisValue in stackStorage instead of ExecutionState
...
2. remove GetThis byte code
3. optimize Function::call
4. optimize {get, set} of TypedArrayObject
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2017-02-14 18:32:15 +09:00
seonghyun kim
272c675e2e
1. sperate ByteCodeBlock::computeNodeLOCFromByteCode
...
2. implement selective clearing Stack
- only blockes have object, array, new expression are cleared by ClearStack function now
3. improve get object inline cache
4. remove CodeBlock::hasNonConfiguableNameOnGlobal
5. add thisValue in ExecutionState
6. optimize Value::abstractEqualsToSlowCase
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2017-02-13 10:36:25 +09:00
Eunji Jeong
f72b0fdc9a
Avoid accidential GC of exception value
2017-01-16 17:12:42 +09:00
Junyoung Cho
b2ea88b251
-Implement Object.create.
...
-Move toString for shell result into sandbox to resolve throw exception.
2016-12-20 12:51:20 +09:00
seonghyun kim
94f79a2c42
1. improve trace stack
...
2. remove Load,Store GlobalName
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-16 19:40:11 +09:00
seonghyun kim
35142d1c6a
implement eval
...
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-12 14:34:31 +09:00
seonghyun kim
efb82ad9b5
1. implement ArrayObject
...
2. implement UnaryNot, Math.sqrt, break statement
3. add make tidy
this patch pass bitops-nsieve-bits.js, access-fannkuch.js, access-nbody.js
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-08 17:25:48 +09:00
Junyoung Cho
f7a22f54fc
Apply clang-formatting
2016-12-08 14:53:01 +09:00
seonghyun kim
288b147659
1. implement tracing stack when got exception
...
2. binding function name
3. implement sandbox for isolate throw exception
4. implement object expression
5. implement get, set object operation
6. implement logical and, or operation
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-06 22:22:04 +09:00