Commit 4682c56d authored by Michael Beck's avatar Michael Beck
Browse files

Fixed typos, add some doxygen docu

[r14815]
parent b6d8cb4a
......@@ -1843,7 +1843,7 @@ static int ia32_is_psi_allowed(ir_node *sel, ir_node *phi_list, int i, int j)
ir_node *cmp, *cmp_a, *phi;
ir_mode *mode;
/* we don't want long long an floating point Psi */
/* we don't want long long and floating point Psi */
#define IS_BAD_PSI_MODE(mode) (mode_is_float(mode) || get_mode_size_bits(mode) > 32)
if (get_irn_mode(sel) != mode_b)
......@@ -1904,7 +1904,7 @@ static const backend_params *ia32_get_libfirm_params(void) {
NULL, /* will be set later */
ia32_create_intrinsic_fkt,
&intrinsic_env, /* context for ia32_create_intrinsic_fkt */
NULL, /* will be set later */
NULL, /* will be set below */
};
p.dep_param = &ad;
......
......@@ -702,6 +702,9 @@ ir_node *get_cfop_target_block(const ir_node *irn) {
return get_irn_link(irn);
}
/**
* Emits a block label for the given block.
*/
static
void ia32_emit_block_name(ia32_emit_env_t *env, const ir_node *block)
{
......@@ -710,7 +713,7 @@ void ia32_emit_block_name(ia32_emit_env_t *env, const ir_node *block)
}
/**
* Returns the target label for a control flow node.
* Emits the target label for a control flow node.
*/
static
void ia32_emit_cfop_target(ia32_emit_env_t * env, const ir_node *node) {
......@@ -2202,7 +2205,7 @@ void ia32_emit_block_header(ia32_emit_env_t *env, ir_node *block, ir_node *prev)
ir_node *pred_block = get_nodes_block(pred);
/* we don't need labels for fallthrough blocks, however switch-jmps
* are no fallthoughs */
* are no fallthroughs */
if(pred_block == prev &&
!(is_Proj(pred) && is_ia32_SwitchJmp(get_Proj_pred(pred)))) {
need_label = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment