forked from OSchip/llvm-project
Call CreateTempAllocaWithoutCast for ActiveFlag
This is partial re-commit of r332982. llvm-svn: 334879
This commit is contained in:
parent
3f5490af21
commit
cbd80f49d5
|
@ -283,8 +283,8 @@ void EHScopeStack::popNullFixups() {
|
||||||
|
|
||||||
void CodeGenFunction::initFullExprCleanup() {
|
void CodeGenFunction::initFullExprCleanup() {
|
||||||
// Create a variable to decide whether the cleanup needs to be run.
|
// Create a variable to decide whether the cleanup needs to be run.
|
||||||
Address active = CreateTempAlloca(Builder.getInt1Ty(), CharUnits::One(),
|
Address active = CreateTempAllocaWithoutCast(
|
||||||
"cleanup.cond");
|
Builder.getInt1Ty(), CharUnits::One(), "cleanup.cond");
|
||||||
|
|
||||||
// Initialize it to false at a site that's guaranteed to be run
|
// Initialize it to false at a site that's guaranteed to be run
|
||||||
// before each evaluation.
|
// before each evaluation.
|
||||||
|
|
Loading…
Reference in New Issue