Suggestions from github issue #382

This commit is contained in:
caheckman 2019-04-12 09:44:53 -04:00
parent ba98e85429
commit 933e16f751
10 changed files with 19 additions and 17 deletions

View file

@ -281,9 +281,8 @@ void InjectPayloadDynamic::inject(InjectContext &context,PcodeEmit &emit) const
PcodeInjectLibrarySleigh::PcodeInjectLibrarySleigh(Architecture *g,uintb tmpbase)
: PcodeInjectLibrary(g,tmpbase)
{
glb = g;
slgh = (const SleighBase *)glb->translate;
contextCache.glb = glb;
slgh = (const SleighBase *)g->translate;
contextCache.glb = g;
}
int4 PcodeInjectLibrarySleigh::registerDynamicInject(InjectPayload *payload)