Skip to content

Commit

Permalink
PPC build fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
wrwilliams committed Nov 17, 2016
1 parent 64edc81 commit 116fccd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dyninstAPI/src/inst-power.C
Expand Up @@ -1159,7 +1159,6 @@ void emitImm(opCode op, Register src1, RegValue src2imm, Register dest,
}
}

void cleanUpAndExit(int status);

/* Recursive function that goes to where our instrumentation is calling
to figure out what registers are clobbered there, and in any function
Expand Down Expand Up @@ -1439,7 +1438,7 @@ Register EmitterPOWER::emitCall(opCode ocode,
" only 8 arguments can (currently) be passed on the POWER architecture.\n";
bperr( msg.c_str());
showErrorCallback(94,msg);
cleanUpAndExit(-1);
exit(-1);
}

// If we got the wrong register, we may need to do a 3-way swap.
Expand Down

0 comments on commit 116fccd

Please sign in to comment.