Fixed debug compile (no whatsnew)

Couriersud: please take a look at my change, I have commented it but since not sure if is proper.
This commit is contained in:
Miodrag Milanovic 2011-01-05 08:50:38 +00:00
parent 57d85d2f7f
commit 449e97acbc
3 changed files with 3 additions and 3 deletions

View File

@ -3898,7 +3898,7 @@ static void generate_delay_slot_and_branch(rsp_state *rsp, drcuml_block *block,
} }
/* compile the delay slot using temporary compiler state */ /* compile the delay slot using temporary compiler state */
assert(desc->delay != NULL); assert(desc->delay.first() != NULL);
generate_sequence_instruction(rsp, block, &compiler_temp, desc->delay.first()); // <next instruction> generate_sequence_instruction(rsp, block, &compiler_temp, desc->delay.first()); // <next instruction>
/* update the cycles and jump through the hash table to the target */ /* update the cycles and jump through the hash table to the target */

View File

@ -1652,7 +1652,7 @@ static void generate_delay_slot(sh2_state *sh2, drcuml_block *block, compiler_st
compiler_state compiler_temp = *compiler; compiler_state compiler_temp = *compiler;
/* compile the delay slot using temporary compiler state */ /* compile the delay slot using temporary compiler state */
assert(desc->delay != NULL); assert(desc->delay.first() != NULL);
generate_sequence_instruction(sh2, block, &compiler_temp, desc->delay.first(), ovrpc); // <next instruction> generate_sequence_instruction(sh2, block, &compiler_temp, desc->delay.first(), ovrpc); // <next instruction>
/* update the label */ /* update the label */

View File

@ -242,7 +242,7 @@ DISCRETE_START(dss_input_stream)
{ {
DISCRETE_DECLARE_CONTEXT(dss_input) DISCRETE_DECLARE_CONTEXT(dss_input)
assert(DSS_INPUT_STREAM__STREAM < linked_list_count(node->info->input_list)); //assert(DSS_INPUT_STREAM__STREAM < node->info->input_list.count());
context->is_stream = TRUE; context->is_stream = TRUE;
/* Stream out number is set during start */ /* Stream out number is set during start */