Small refactorings
Modifications: * eliminate unnecessary variables, functions * use ECMA_NUMBER macros where it is possible * simplify code * minor style fix (comments, increase-decrease operators) JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
This commit is contained in:
@@ -792,7 +792,7 @@ lexer_parse_number (parser_context_t *context_p) /**< context */
|
||||
|
||||
do
|
||||
{
|
||||
source_p ++;
|
||||
source_p++;
|
||||
}
|
||||
while (source_p < source_end_p
|
||||
&& lexer_is_hex_digit (source_p[0]));
|
||||
@@ -809,7 +809,7 @@ lexer_parse_number (parser_context_t *context_p) /**< context */
|
||||
|
||||
do
|
||||
{
|
||||
source_p ++;
|
||||
source_p++;
|
||||
}
|
||||
while (source_p < source_end_p
|
||||
&& source_p[0] >= '0'
|
||||
|
||||
@@ -1430,7 +1430,7 @@ parser_post_processing (parser_context_t *context_p) /**< context */
|
||||
* instructions, since this form is constructed during post
|
||||
* processing and cannot be emitted directly. */
|
||||
*opcode_p = CBC_JUMP_FORWARD;
|
||||
length --;
|
||||
length--;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user