Initial RAM optimization for ESP8266
by putting big constants into ROM, instead of residing in RAM. Related to https://github.com/Samsung/jerryscript/issues/1224. JerryScript-DCO-1.0-Signed-off-by: Slavey Karadzhov slaff@attachix.com
This commit is contained in:
+1
-1
@@ -184,7 +184,7 @@ vm_op_set_value (ecma_value_t object, /**< base object */
|
||||
/**
|
||||
* Decode table for both opcodes and extended opcodes.
|
||||
*/
|
||||
static const uint16_t vm_decode_table[] =
|
||||
static const uint16_t vm_decode_table[] JERRY_CONST_DATA =
|
||||
{
|
||||
CBC_OPCODE_LIST
|
||||
CBC_EXT_OPCODE_LIST
|
||||
|
||||
Reference in New Issue
Block a user