Convert certain push number opcodes to literals (#2328)

Binary operations are much faster with literal arguments.
The byte immediates are still kept for other cases, e.g. array declarations.

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
This commit is contained in:
Zoltan Herczeg authored and yichoi committed 2018-05-18 17:22:53 +09:00
1 parent 64b16bf190
commit 5560c76b41
10 files changed
+232 -81

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ typedef struct
/**
* Jerry snapshot format version.
*/
#define JERRY_SNAPSHOT_VERSION (12u)
#define JERRY_SNAPSHOT_VERSION (13u)
/**
* Snapshot configuration flags.