Commit graph

22 commits

Author SHA1 Message Date
Eunji Jeong
c8840465d1 Pass tests in es5 test262 ch15.2.3.3 (except for URI-related features)
- Add every builtin function templates in es5
- Modification on Makefile target "check" should not trigger rebuild
- Add JSON object
- Implement some toString functions
- Initialize m_value properly in ObjectPropertyDescriptor constructor
2016-12-29 22:39:02 +09:00
seonghyun kim
d2a17f1be3 1. implement parseFloat
2. implement missing functions in Math
3. Fix delete expression bug
4. Fix Error Object bug
5. implement String.prototype.reverse

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-23 23:24:11 +09:00
Junyoung Cho
1447526e24 Implement Number/String.prototype.valueOf
Fix primitive type conversion bug in Date
Add constructor property to Built-in object functions
2016-12-23 15:50:58 +09:00
seonghyun kim
0f807e269a 1. implement Array.prototype.push
2. Fix bug in Object::defineOwnProperty

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-22 20:55:22 +09:00
seonghyun kim
78eea30c84 implement Object.getOwnPropertyDescriptor
implement Array.prototype.reduce

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-22 15:42:03 +09:00
seonghyun kim
a7c88abf44 1. implement Array.prototype.every
2. exclude useless test in test262

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-22 13:33:48 +09:00
seonghyun kim
ef08833f55 implement prototype of builtin Functions properly
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-22 11:20:29 +09:00
seonghyun kim
30356c1d81 1. implement Object.prototype.__proto__
2. remove __proto__ in Object

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-21 20:23:55 +09:00
seonghyun kim
24ff648fe7 implement basic of JSGetterSetter
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-21 12:39:39 +09:00
Junyoung Cho
212c455b52 Implement Array.prototype.forEach 2016-12-20 14:45:47 +09:00
Junyoung Cho
ac9b7b10f5 rename:
ObjectPropertyDescriptor->ObjectStructurePropertyDescriptor
ObjectPropertyDescriptorForDefineProperty->ObjectPropertyDescriptor
2016-12-19 20:52:18 +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
Junyoung Cho
b38fc335b8 Implement part of Array.prototype.splice.
Fix setFastModeValue, deleteOwnProperty in Array Object.
2016-12-16 16:42:44 +09:00
Junyoung Cho
f805c62a35 Fix bug in array concat 2016-12-15 15:43:34 +09:00
Junyoung Cho
ee1f78f348 Implement Array.prototype.slice 2016-12-15 14:47:47 +09:00
Junyoung Cho
33aa83093c Add Array.prototype.concat 2016-12-15 14:07:12 +09:00
seonghyun kim
61eb45b0c7 1. optimize String buffer acquire functions
2. implment String.prototype.toLowerCase, toUpperCase
3. implment Array.prototype.sort
4. fix codeBlock bugs

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-15 11:37:25 +09:00
seonghyun kim
64a56ae946 1. re-implement Object::defineOwnProperty
2. implement String.prototype.match, replace

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-14 16:17:11 +09:00
seonghyun kim
88a79914ae implement for-in statement
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-13 19:50:04 +09:00
seonghyun kim
8acbfcfe52 1. split Vector into TightVector and Vector
2. implement basic of DateObject
3. implement continue statement

this patch passes 3d-raytrace.js

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-09 13:56:54 +09:00
seonghyun kim
c34e6da780 1. implement StringObject
2. implement Array.prototype.join, toString
3. implement Math.abs, Math.min....so on
4. implement Object::enumeration

this pass 3d-cube.js, 3d-morph.js

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-08 21:45:17 +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