Implement DataView builtin (#2804)
New API functions: - jerry_create_dataview - jerry_value_is_dataview - jerry_get_dataview_buffer 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
b3f4aa6816
commit
5c72d995e4
@@ -31,6 +31,7 @@ Alternatively, if you want to use a custom profile at
|
||||
```
|
||||
# Turn off every ES2015 feature EXCEPT the arrow functions
|
||||
JERRY_ES2015_BUILTIN=0
|
||||
JERRY_ES2015_BUILTIN_DATAVIEW=0
|
||||
JERRY_ES2015_BUILTIN_ITERATOR=0
|
||||
JERRY_ES2015_BUILTIN_MAP=0
|
||||
JERRY_ES2015_BUILTIN_PROMISE=0
|
||||
@@ -109,6 +110,8 @@ defined to `1`.
|
||||
Enables or disables the [arrow functions](http://www.ecma-international.org/ecma-262/6.0/#sec-arrow-function-definitions).
|
||||
* `JERRY_ES2015_BUILTIN`:
|
||||
Enables or disables the built-in updates of the 5.1 standard. There are some differences in those built-ins which available in both [5.1](http://www.ecma-international.org/ecma-262/5.1/) and [2015](http://www.ecma-international.org/ecma-262/6.0/) versions of the standard. JerryScript uses the latest definition by default.
|
||||
* `JERRY_ES2015_BUILTIN_DATAVIEW`:
|
||||
Enables or disables the [DataView](https://www.ecma-international.org/ecma-262/6.0/#sec-dataview-objects) built-in.
|
||||
* `JERRY_ES2015_BUILTIN_ITERATOR`:
|
||||
Enables or disables the [Iterator](https://www.ecma-international.org/ecma-262/6.0/#sec-iterator-interface) built-in.
|
||||
* `JERRY_ES2015_BUILTIN_MAP`:
|
||||
@@ -136,6 +139,7 @@ defined to `1`.
|
||||
Equivalent with setting the following defines to the `JERRY_ES2015` value:
|
||||
* `JERRY_ES2015_ARROW_FUNCTION`
|
||||
* `JERRY_ES2015_BUILTIN`
|
||||
* `JERRY_ES2015_BUILTIN_DATAVIEW`
|
||||
* `JERRY_ES2015_BUILTIN_ITERATOR`
|
||||
* `JERRY_ES2015_BUILTIN_MAP`
|
||||
* `JERRY_ES2015_BUILTIN_PROMISE`
|
||||
|
||||
Reference in New Issue
Block a user