fixed IR
This commit is contained in:
@@ -1316,7 +1316,9 @@ static SgStatement* processStatement(SgStatement* st, vector<IR_Block*>& blocks,
|
|||||||
{
|
{
|
||||||
SgStatement* body = select->defOption()->lexNext();
|
SgStatement* body = select->defOption()->lexNext();
|
||||||
|
|
||||||
while (body != lastSelect)
|
while (body != lastSelect &&
|
||||||
|
body->variant() != CASE_NODE &&
|
||||||
|
body->variant() != DEFAULT_NODE)
|
||||||
{
|
{
|
||||||
const int firstInstr = blocks.size();
|
const int firstInstr = blocks.size();
|
||||||
body = processLabel(processStatement(body, blocks, labels, func, commonVars, settings), firstInstr, blocks, labels);
|
body = processLabel(processStatement(body, blocks, labels, func, commonVars, settings), firstInstr, blocks, labels);
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define VERSION_SPF "2224"
|
#define VERSION_SPF "2225"
|
||||||
|
|||||||
Reference in New Issue
Block a user