Minor style fixes.

This commit is contained in:
Ruben Ayrapetyan
2014-07-23 20:41:21 +04:00
parent 2ff5d14b06
commit 8d180e9be1
4 changed files with 9 additions and 23 deletions
+2 -2
View File
@@ -477,7 +477,7 @@ mem_heap_print( bool dump_block_data) /**< print block with data (true)
#endif /* MEM_STATS */
__printf("\n");
} /* mem_PrintHeap */
} /* mem_heap_print */
/**
* Check heap consistency
@@ -534,7 +534,7 @@ mem_heap_stat_init()
mem_heap_stats.size = mem_heap.heap_size;
mem_heap_stats.blocks = 1;
} /* mem_InitStats */
} /* mem_heap_stat_init */
/**
* Account block allocation
+4 -12
View File
@@ -399,9 +399,7 @@ opfunc_loop_inf (OPCODE opdata, struct __int_data *int_data)
int_data->pos = opdata.data.loop_inf.loop_root;
return ecma_make_completion_value( ECMA_COMPLETION_TYPE_NORMAL,
ecma_make_simple_value( ECMA_SIMPLE_VALUE_EMPTY),
ECMA_TARGET_ID_RESERVED);
return ecma_make_empty_completion_value();
}
ecma_completion_value_t
@@ -417,9 +415,7 @@ opfunc_call_1 (OPCODE opdata __unused, struct __int_data *int_data)
int_data->pos++;
// FIXME
return ecma_make_completion_value( ECMA_COMPLETION_TYPE_NORMAL,
ecma_make_simple_value( ECMA_SIMPLE_VALUE_EMPTY),
ECMA_TARGET_ID_RESERVED);
return ecma_make_empty_completion_value();
}
ecma_completion_value_t
@@ -433,9 +429,7 @@ opfunc_jmp (OPCODE opdata, struct __int_data *int_data)
int_data->pos = opdata.data.jmp.opcode_idx;
return ecma_make_completion_value( ECMA_COMPLETION_TYPE_NORMAL,
ecma_make_simple_value( ECMA_SIMPLE_VALUE_EMPTY),
ECMA_TARGET_ID_RESERVED);
return ecma_make_empty_completion_value();
}
/**
@@ -761,9 +755,7 @@ opfunc_var_decl(OPCODE opdata, /**< operation data */
int_data->pos++;
return ecma_make_completion_value( ECMA_COMPLETION_TYPE_NORMAL,
ecma_make_simple_value( ECMA_SIMPLE_VALUE_EMPTY),
ECMA_TARGET_ID_RESERVED);
return ecma_make_empty_completion_value();
} /* opfunc_var_decl */
/**
+1 -3
View File
@@ -78,9 +78,7 @@ ecma_op_check_object_coercible( ecma_value_t value) /**< ecma-value */
}
}
return ecma_make_completion_value( ECMA_COMPLETION_TYPE_NORMAL,
ecma_make_simple_value( ECMA_SIMPLE_VALUE_EMPTY),
ECMA_TARGET_ID_RESERVED);
return ecma_make_empty_completion_value();
} /* ecma_op_check_object_coercible */
/**
+2 -6
View File
@@ -106,9 +106,7 @@ ecma_op_create_mutable_binding(ecma_object_t *lex_env_p, /**< lexical environmen
}
}
return ecma_make_completion_value( ECMA_COMPLETION_TYPE_NORMAL,
ecma_make_simple_value( ECMA_SIMPLE_VALUE_EMPTY),
ECMA_TARGET_ID_RESERVED);
return ecma_make_empty_completion_value();
} /* ecma_op_create_mutable_binding */
/**
@@ -153,9 +151,7 @@ ecma_op_set_mutable_binding(ecma_object_t *lex_env_p, /**< lexical environment *
}
}
return ecma_make_completion_value( ECMA_COMPLETION_TYPE_NORMAL,
ecma_make_simple_value( ECMA_SIMPLE_VALUE_EMPTY),
ECMA_TARGET_ID_RESERVED);
return ecma_make_empty_completion_value();
} /* ecma_op_set_mutable_binding */
/**