Skip to content

Commit 39e8953

Browse files
authored
[clang][bytecode] Move a local variable to a later point (#121250)
We don't need `E` before.
1 parent edc42b2 commit 39e8953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/ByteCode/Pointer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,10 +476,10 @@ bool Pointer::pointsToLiteral() const {
476476
if (isZero() || !isBlockPointer())
477477
return false;
478478

479-
const Expr *E = block()->getDescriptor()->asExpr();
480479
if (block()->isDynamic())
481480
return false;
482481

482+
const Expr *E = block()->getDescriptor()->asExpr();
483483
return E && !isa<MaterializeTemporaryExpr, StringLiteral>(E);
484484
}
485485

0 commit comments

Comments
 (0)