Merge "Handle fatal errors from calling bccRegisterSymbolCallback (if any)." into honeycomb
This commit is contained in:
committed by
Android (Google) Code Review
commit
f1f710538e
@@ -475,7 +475,10 @@ bool ScriptCState::runCompiler(Context *rsc,
|
|||||||
|
|
||||||
s->mEnviroment.mIsThreadable = true;
|
s->mEnviroment.mIsThreadable = true;
|
||||||
|
|
||||||
bccRegisterSymbolCallback(s->mBccScript, symbolLookup, s);
|
if (bccRegisterSymbolCallback(s->mBccScript, symbolLookup, s) != 0) {
|
||||||
|
LOGE("bcc: FAILS to register symbol callback");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (bccReadBC(s->mBccScript,
|
if (bccReadBC(s->mBccScript,
|
||||||
resName,
|
resName,
|
||||||
|
|||||||
Reference in New Issue
Block a user